Soil Water Balance (SWB2)
Loading...
Searching...
No Matches
precipitation__method_of_fragments.F90 File Reference

Contains the module precipitation__method_of_fragments. More...

Go to the source code of this file.

Data Types

type  precipitation__method_of_fragments::fragments_t
 Data structure that holds a single line of data from the input rainfall fragments file. More...
type  precipitation__method_of_fragments::ptr_fragments_t
 Pointer to a rainfall fragments data structure. More...
type  precipitation__method_of_fragments::fragments_set_t
 Data structure to hold the current active rainfall fragments for a particular rain gage zone. More...
type  precipitation__method_of_fragments::fragments_sequence_t
 Data structure to hold static (pre-calculated) fragment selection numbers. More...

Modules

module  precipitation__method_of_fragments
 Module precipitation__method_of_fragments provides support for creating synthetic daily precipitation given grids of monthly sum precipitation and a "fragments" file. The fragments file is generated from observations at discrete locations, the values of which range from 0 to 1, and the sum of which is 1. The fragment value is simply the daily observed precipitation value divided by the monthly sum of all observed precipitation values for that station.

Functions/Subroutines

subroutine, public precipitation__method_of_fragments::precipitation_method_of_fragments_initialize (lactive)
 Initialize method of fragments.
subroutine, public precipitation__method_of_fragments::read_daily_fragments (sfilename)
subroutine precipitation__method_of_fragments::process_fragment_sets ()
 after fragments file has been read in, iterate over a set of rainfall fragments
subroutine precipitation__method_of_fragments::normalize_february_fragment_sequence (icount)
 eliminate rainfall on the 29th day of February; bump up all other values to ensure sum = 1
subroutine precipitation__method_of_fragments::read_fragments_sequence (sfilename)
subroutine precipitation__method_of_fragments::update_fragments (lshuffle)
 Update rainfall fragments on daily basis.
subroutine precipitation__method_of_fragments::update_random_values ()
subroutine, public precipitation__method_of_fragments::precipitation_method_of_fragments_calculate (lactive)

Variables

integer(c_int), dimension(:), allocatable, public precipitation__method_of_fragments::rain_gage_id
 Module variable that holds the rainfall gage (zone) number.
real(c_float), dimension(:), allocatable, public precipitation__method_of_fragments::fragment_value
 Module variable that holds the current day's rainfall fragment value.
integer(c_int), public precipitation__method_of_fragments::simulation_number = 1
 Module variable indicating which "simulation number" is active Only has meaning if the rainfall fragments are being applied via a predetermined sequence file.
real(c_float), dimension(:), allocatable, public precipitation__method_of_fragments::rainfall_adjust_factor
 Module variable that holds the rainfall adjustment factor.
real(c_double), dimension(:,:), allocatable precipitation__method_of_fragments::random_values
 Module variable that holds a sequence of random numbers associated with the selection of the fragment set to use.
logical(c_bool), dimension(:), allocatable precipitation__method_of_fragments::sequence_selection
 Module level variable used to create subsets of the FRAGMENT_SEQUENCES file.
logical(c_bool) precipitation__method_of_fragments::random_fragment_sequences = .true._c_bool
 Module variable detemining whether fragment sequences are chosen at random or selected from an external file.
type(fragments_t), dimension(:), allocatable, target, public precipitation__method_of_fragments::fragments
 Array of all fragments read in from the rainfall fragments file.
type(ptr_fragments_t), dimension(:,:), allocatable precipitation__method_of_fragments::current_fragments
 Subset of rainfall fragments file pointing to the currently active fragments.
type(fragments_set_t), dimension(:), allocatable, public precipitation__method_of_fragments::fragments_sets
 Array of fragments sets; fragments sets include indices to the start record associated with the fragment for each month; FRAGMENTS_SETS will have a number of elements equal to the number of rainfall gages in the model domain.
type(fragments_sequence_t), pointer precipitation__method_of_fragments::pfragments_sequence
 Pointer to all or some of the FRAGMENTS_SEQUENCE array.
type(fragments_sequence_t), dimension(:), allocatable, public precipitation__method_of_fragments::fragments_sequence
 Array of fragment sequence sets.
type(data_catalog_entry_t), pointer precipitation__method_of_fragments::prainfall_adjust_factor
integer(c_int) precipitation__method_of_fragments::lu_fragments_echo

Detailed Description