Interface for working with the National Hydrologic Model for PRMS
paknorton / bandit Goto Github PK
View Code? Open in Web Editor NEWInterface for working with the National Hydrologic Model for PRMS
License: MIT License
Interface for working with the National Hydrologic Model for PRMS
License: MIT License
Currently bandit does not support extracting models which use cascading HRUs. Could this be added?
Output understandable error when source files (e.g. CBH, geoDb, NhmParamDb) are missing
Currently the create_merged_db.py and create_bandit_job.py scripts assume the config file is named bandit.cfg. It would be more flexible to be able to specify the configuration file when running those programs.
The dynamic_parameters.py would probably better suited as part of the pyPRMS library.
The default behavior when writing a subset CBH file is to have an empty entry for NA values from the source. Because the separator in these files is a space and Fortran collapse multiple spaces you end up with zero values where you should during a PRMS model run.
Add capability for non-routed HRUs in gen_headwaters.py
If an incorrect stream segment (e.g. one that doesn't exist in the parameter database) is given in the config file bandit.py crashes with a key error.
Need option to extract non-connected basins/watersheds to separate directories
PRMS6 (in development) can process CBH files in netcdf format. It would be good to be able to provide CBH files for model extractions the netcdf format.
The ability to restrict parameters in a parameter file based on the modules select for a model extraction would reduce file size and confusion resulting from seeing non-related parameters.
Currently bandit works with a global nhmparamdb repository. In other words, there is a single copy of the nhmparamdb that is used by all bandit jobs. It would be useful to extend bandit to allow the use of local nhmparamdb copies on a per-job basis without affecting the nhmparamdb that is used globally. This would be particularly useful for calibration jobs.
I would really like to use this application to access NHM datasets.
Thanks so much.
Could bandit extract parameters and model output from an existing model instead of from the paramdb?
Right now if a streamgage is not a POI in the NHM paramDb then is can be used or included as part of a model extraction. It would be useful to be able to attach non-POI streamgages to stream segments during a model extraction.
It would nice to be able to generate both the ASCII and netCDF formats of the PRMS files in a single extraction run instead of two separate runs.
When multiple outlet stream segments are specified the local tosegment values can be incorrect if the specified outlets are not all true outlets from the subset. This occurs when all stream segments in a study area are specified as outlets instead of just the segments that are truly the outlets of the subset (e.g. when doing headwater extractions).
It would be nice if the HRU and Segment shapefiles for model extractions had attributes the properly reflected the model extraction.
Add a readme file to bandit extractions that describes the files included, the GIS layers, how to get PRMS. Could also add boilerplate information about the NHM application.
When downloading streamflow data for an extraction the resulting dataset sometimes has _Dis appended to it which causes errors in PRMS.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.