NGEET / fates-containers

Repository for containerized version of fates for use in future tutorials
6 stars 7 forks source link

Update existing python script to allow building of a complete single-point input file structure for a site run #22

Open serbinsh opened 4 years ago

serbinsh commented 4 years ago

Step 2: Update existing python script for extract single-point drivers and surf/domain files to work with all other ancillary inputs. Generate a new cesm input datas folder containing all required inputs, but with 1 pixel

serbinsh commented 4 years ago

Here is the current script that I will update. Long term we could probably make this much more user-friendly and elegant

create_GSWP3.0.5d.v1_single_point_forcing_data.py.zip

It uses config files like this

config_fates.txt

serbinsh commented 4 years ago

Required datasets:

CTSM, and FATES param files (small enough to auto-download)

lnd_in fsnowaging = '/data//lnd/clm2/snicardata/snicar_drdt_bst_fit_60_c070416.nc' fsnowoptics = '/data//lnd/clm2/snicardata/snicar_optics_5bnd_c090915.nc' stream_fldfilename_urbantv = '/data//lnd/clm2/urbandata/CLM50_tbuildmax_Oleson_2016_0.9x1.25_simyr1849-2106_c160923.nc'

the big one datm.streams.txt.presaero.clim_2000 aerosoldep_WACCM.ensmean_monthly_hist_1849-2015_0.9x1.25_CMIP6_c180926.nc 6.21 GBs

datm.streams.txt.topo.observed topodata_0.9x1.25_USGS_070110_stream_c151201.nc

Or a complete list within these files Finished creating component namelists Checking that inputdata is available as part of case submission Loading input file list: 'Buildconf/cpl.input_data_list' Loading input file list: 'Buildconf/datm.input_data_list' Loading input file list: 'Buildconf/mosart.input_data_list' Loading input file list: 'Buildconf/clm.input_data_list' Model clm no file specified for finidat

serbinsh commented 4 years ago

Currently builds this folder structure, need to expand to include the other files Screen Shot 2020-09-04 at 1 40 16 PM