You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+16-10
Original file line number
Diff line number
Diff line change
@@ -140,26 +140,32 @@ Each userdata file must contain a timetable named `Data` with column names match
140
140
141
141
IceModel produces two outputs: `ice1` and `ice2`, representing 1-dimensional and 2-dimensional data, respectively, with dimensions time and depth. The `ice1` data are saved in a `timetable` object and `ice2` are saved in a `struct` object. An IceModel simulation with `opts.saveflag` set true will save these two objects as well as the `opts` struct according to the following convention:
Here, `ICEMODEL_OUTPUT_PATH` is an environment variable set by the `icemodel.config` function, the lowercase "forcings" is a string literal used to join the `FORCINGS` and `USERDATA` string variables, and `SITENAME`, `SMBMODEL`, `FORCINGS`, `USERDATA`, and `USERVARS` are parameters passed to the `icemodel.setopts` function (either directly or indirectly via the helper function `icemodel.run.point`). One `YYYY` folder is created for each year in the `SIMYEARS` parameter passed to `icemodel.setopts`.
148
150
149
151
Note that the `ICEMODEL_OUTPUT_PATH/SITENAME/SMBMODEL/YYYY` subfolders are generated automatically in the `icemodel.setopts` function if they do not exist.
150
152
151
153
Example: An IceModel simulation for the KAN-M weather station location for years 2015:2016 using MERRA forcings, with `userdata='modis'` and `uservars='albedo'` will produce the following output files:
If `userdata` and `uservars` are not supplied to `icemodel.setopts` or are supplied as empty arrays `[]`, or empty chars `''` (they are optional arguments but must be supplied as empty if subsequent arguments `saveflag` and/or `backupflag` are supplied), the filenames would be:
Here, the `userdata` parameter takes on the value of the `forcings` parameter (`'merra'`), whereas the `uservars` parameter takes the value `'albedo'`, which is the default value set in `icemodel.setopts`. This reflects the focus of IceModel on studying the sensitivity of SMB models to ice albedo.
0 commit comments