MicroMet
Jump to navigation
Jump to search
Program written by Glen Liston of Colorado State. The program has several components:
- MicroMet
- SnowModel (plus subcomponents)
MicroMet/SnowModel FTP site (for latest model version)
Here are some getting started tips (but really, read all the documentation several times through). These are sequential procedural type tips but the formatting is getting bungled here in the wiki:
- change 'compile.snowmodel.script' path1 and path2 variables
- run the script 'compile.snowmoel.script' to see that everything compiles on your machine
- modify 'mk_micromet_input_file.f' in snowmodel_example/met. I also suggest changing the file name to something more descriptive like '2005_yukon_mk_micromet_input_file.f' and then create one .f file per model run so that you're keeping a record of the things that are done (like multiple model runs for example). There are three changes in the file:
Line 14, number of input files: parameter (nfiles=2) Line 38 & 39, file names for the input files: data fnamein/'met_station_101.dat', & 'met_station_408.dat'/ Line 41, file name for the output file: data fnameout/'SnowModel_test_met.dat'/
- Compile 'mk_micromet_input_file.f':
g77 *.f [typed in the met directory]
- run 'a.exe', the file that is created (or a if you're on another OS)
- data format for the input files should be unix format (just a <LF> not <CRLF> at the end of each line)
- make sure you don't have any '-9999' in the dem and veg map files, relatedly make sure the veg map categories match the micromet categories
- Suggested getting started (till you know what you're doing) changes for snowmodel.par:
Line 27 & 28: Grid size Line 32 & 33: Grid spacing Line 40 & 41: LL Corner Position Line 52: Time step interval Line 55, 58, 61, 66: Model run start date & time Line 69: Number of time steps Line 93: Input Met file name & location Line 117 & 118: Dem & Veg file name & location Line 191: Center of DEM (roughly) Line 335: User specified adiabatic lapse rates Line 399: MicroMet Model data to be outputted. Line 501: SnowTran Model data to be outputted. Line 536: EnBal Model data to be outputted. Line 559: Snowpack Model data to be outputted.