-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hydrofab2ngen tools #46
base: main
Are you sure you want to change the base?
Hydrofab2ngen tools #46
Conversation
@JordanLaserGit That would save everyone quite a bit of time and could be a step towards more efficient data access... |
watching |
prep_hydrofab_forcings_ngen.py
Outdated
|
||
def aorc_as_rate(dataFrame): | ||
""" | ||
Convert kg/m^2 -> m/s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe these two can live in some AORC tool repo. Would that be something to put in hydrotools?
import matplotlib.pyplot as plt | ||
from mpl_toolkits.basemap import Basemap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not used...
Almost there -- need to resolve subset import issue. |
…' into hydrofab2ngen_tools
Replaces original intent of #26
Remaining checkmarks still to be examined, possibly through #26, refreshed.
Working on this with respect to #24.
Work remaining might include the following:
--enable-parallel
flag or here - possibly change to access pattern)How to test:
Download a set of test data files to use with
python prep_hydrofab_forcings_ngen.py user_input_ngen.json
:with the default configuration downloading 18 hours of Short Range forecast and the 03W VPU, it can generate the 30000 feature time series in just a minute or so after generating the .json file with the weights. Unfortunately, generating that file takes almost 20 minutes and is an opportunity for optimization.