@@ -44,52 +44,38 @@ Then, you can see what is in it simply by printing it out:
4444
4545 print(fm)
4646
47- > 'SUMMA_FILE_MANAGER_V1.0' ! filemanager_version
48- > '/home/user/summa_setup_template/settings/' ! settings_path
49- > '/home/user/summa_setup_template/forcing/' ! input_path
50- > '/home/user/summa_setup_template/output/' ! output_path
51- > 'decisions.txt' ! decisions_path
52- > '[notUsed]' ! meta_time
53- > '[notUsed]' ! meta_attr
54- > '[notUsed]' ! meta_type
55- > '[notUsed]' ! meta_force
56- > '[notUsed]' ! meta_localparam
57- > 'output_control.txt' ! output_control
58- > '[notUsed]' ! meta_localindex
59- > '[notUsed]' ! meta_basinparam
60- > '[notUsed]' ! meta_basinmvar
61- > 'local_attributes.nc' ! local_attributes
62- > 'local_param_info.txt' ! local_param_info
63- > 'basin_param_info.txt' ! basin_param_info
64- > 'forcing_file_list.txt' ! forcing_file_list
65- > 'initial_conditions.nc' ! model_init_cond
66- > 'parameter_trial.nc' ! parameter_trial
67- > 'test' ! output_prefix
47+ > controlVersion 'SUMMA_FILE_MANAGER_V3.0.0'
48+ > simStartTime '2002-10-01 00:00'
49+ > simEndTime '2003-05-31 00:00'
50+ > tmZoneInfo 'localTime'
51+ > settingsPath '/pool0/data/andrbenn/dana_3_test/.pysumma/_test/settings/'
52+ > forcingPath './forcings/'
53+ > outputPath './output/'
54+ > decisionsFile 'decisions.txt'
55+ > outputControlFile 'output_control.txt'
56+ > globalHruParamFile '../params/local_param_info.txt'
57+ > globalGruParamFile '../params/basin_param_info.txt'
58+ > attributeFile '../params/local_attributes.nc'
59+ > trialParamFile '../params/parameter_trial.nc'
60+ > forcingListFile '../forcings/forcing_file_list.txt'
61+ > initConditionFile '../params/initial_conditions.nc'
62+ > outFilePrefix 'template_output'
63+ > vegTableFile 'VEGPARM.TBL'
64+ > soilTableFile 'SOILPARM.TBL'
65+ > generalTableFile 'GENPARM.TBL'
66+ > noahmpTableFile 'MPTABLE.TBL'
6867
6968To see how to access each of these specific options you can use the ``list_options `` method.
70-
71- ::
72-
73- print(fm.list_options)
74-
75- > ['filemanager_version', 'settings_path', 'input_path',
76- > 'output_path', 'decisions_path', 'meta_time',
77- > 'meta_attr', 'meta_type', 'meta_force', 'meta_localparam',
78- > 'output_control', 'meta_localindex', 'meta_basinparam',
79- > 'meta_basinmvar', 'local_attributes', 'local_param_info',
80- > 'basin_param_info', 'forcing_file_list', 'model_init_cond',
81- > 'parameter_trial', 'output_prefix']
82-
8369Then, each of these keys can be accessed directly similarly to how is done with python dictionaries.
8470This can be used to inspect the values of each option as well as modify their values.
8571
8672::
8773
88- print(fm['output_prefix '])
74+ print(fm['outputPrefix '])
8975
9076 > 'test' ! output_prefix
9177
92- fm['output_prefix '] = 'tutorial'
78+ fm['outputPrefix '] = 'tutorial'
9379
9480 print(fm['output_prefix'])
9581
@@ -114,14 +100,13 @@ Once instantiated you can inspect the available decisions and the options availa
114100
115101 print(dec.list_options())
116102
117- > ['simulStart', 'simulFinsh', 'tmZoneInfo', 'soilCatTbl',
118- > 'vegeParTbl', 'soilStress', 'stomResist', 'num_method',
103+ > ['soilCatTbl', 'vegeParTbl', 'soilStress', 'stomResist',
119104 > 'fDerivMeth', 'LAI_method', 'f_Richards', 'groundwatr',
120105 > 'hc_profile', 'bcUpprTdyn', 'bcLowrTdyn', 'bcUpprSoiH',
121106 > 'bcLowrSoiH', 'veg_traits', 'canopyEmis', 'snowIncept',
122107 > 'windPrfile', 'astability', 'canopySrad', 'alb_method',
123108 > 'compaction', 'snowLayers', 'thCondSnow', 'thCondSoil',
124- > 'spatial_gw', 'subRouting']
109+ > 'spatial_gw', 'subRouting', 'num_method' ]
125110
126111 print(dec['snowLayers'])
127112
@@ -136,12 +121,12 @@ Once instantiated you can inspect the available decisions and the options availa
136121Forcing file list
137122-----------------
138123The forcing file list contains a listing of each of the forcing files available for use as SUMMA input.
139- To instantiate the `ForceFileList ` you will have to specify the path that is set as the ``input_path `` in your ``FileManager ``. Below we show using the ``FileManager `` (``fm ``) to do so.
140- Once instantiated you can also use the `ForceFileList ` object to inspect the forcing files themselves.
124+ To instantiate the `ForcingList ` you will have to specify the path that is set as the ``input_path `` in your ``FileManager ``. Below we show using the ``FileManager `` (``fm ``) to do so.
125+ Once instantiated you can also use the `ForcingList ` object to inspect the forcing files themselves.
141126
142127::
143128
144- ff = ps.ForceFileList ('.', 'forcingFileList.1hr.txt', fm['input_path'])
129+ ff = ps.ForcingList ('.', 'forcingFileList.1hr.txt', fm['input_path'])
145130 print(ff)
146131
147132 >> 'forcing_file.nc'
@@ -204,9 +189,9 @@ The format of the output control file mirrors the way that it is described in th
204189 >> sum
205190
206191
207- Local parameter info
192+ GlobalParams
208193--------------------
209- The local parameter info file contains a listing of global parameters. Spatially dependent parameters are specified
194+ The GlobalParams object listing of global parameters. Spatially dependent parameters are specified
210195in the parameter trial NetCDF file. Values which are specified in the local parameter info file will be overwritten
211196by those specified in the parameter trial file.
212197As with the output control file, there are many parameters which can be specified, so we omit them for brevity.
@@ -215,7 +200,7 @@ this out currently is by looking at the SUMMA source code directly.
215200
216201::
217202
218- lpi = ps.LocalParamInfo ('.', 'local_param_info .txt')
203+ lpi = ps.GlobalParams ('.', 'global_param_info .txt')
219204 print(lpi.list_options())
220205
221206 >> ['upperBoundHead', 'lowerBoundHead', 'upperBoundTheta', 'lowerBoundTheta',
@@ -230,7 +215,7 @@ NetCDF based files
230215==================
231216The following input files are NetCDF-based and therefore, should be interacted with via ``xarray `` when using pysumma:
232217
233- - Parameter trial
218+ - Parameter trial (Spatially distributed parameters)
234219 - Basin parameters
235220 - Local attributes
236221 - Initial conditions
0 commit comments