A set of R scripts for generating Ecological Limit Functions (ELF), storing the modeled output with REST in drupal VAHydro (dH), and a set of scripts for querying and analyzing processed ELF data
0
stars
1
forks
source link
Compressed OM Output Files and timestamp based zoo records #2
Made some changes to the fn_vahydro-1.0 lib to permit better performance for retrieving model run data, and also to allow analysis for model runs that go below a daily timestep.
Zip'ped downloads for fn_get_runfile(elid, runid) -- the OM model output files are now compressed before downloading, then R downloads them and uncompresses them before parsing the data into a data frame. For us inside a firewall, this is a necessity since runs of more than ~years typically fail to download, and for those who don't have that problem things will just go faster.
Timestamp keyed zoo data frames from fn_get_runfile(elid, runid) -- pervious version keyed the zoo timeseries on "thisdate" but if the model was run at an hourly timestep (or anything else under 1 day) the results might not sort properly. Keyed on timestep now handles that appropriately.
@durelles @connorb5 @jdkleiner @alyssaf4 @passeroe
Made some changes to the fn_vahydro-1.0 lib to permit better performance for retrieving model run data, and also to allow analysis for model runs that go below a daily timestep.
Zip'ped downloads for fn_get_runfile(elid, runid) -- the OM model output files are now compressed before downloading, then R downloads them and uncompresses them before parsing the data into a data frame. For us inside a firewall, this is a necessity since runs of more than ~years typically fail to download, and for those who don't have that problem things will just go faster. Timestamp keyed zoo data frames from fn_get_runfile(elid, runid) -- pervious version keyed the zoo timeseries on "thisdate" but if the model was run at an hourly timestep (or anything else under 1 day) the results might not sort properly. Keyed on timestep now handles that appropriately. @durelles @connorb5 @jdkleiner @alyssaf4 @passeroe