Skip to content
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

asc2dssGrid.bat creation automation #1

Open
mylesmc123 opened this issue Jul 19, 2020 · 0 comments
Open

asc2dssGrid.bat creation automation #1

mylesmc123 opened this issue Jul 19, 2020 · 0 comments

Comments

@mylesmc123
Copy link

Is there an automated way to create the asc2dssGrid.bat file? Without this automation, the process is quite tedious.

If not, I propose an additional Python script to create this file based on a specified input directory, where each shg_.asc file is read in as a line with a subsequent DSS path created by using the filename to match the pattern for date time information:

asc2dssGrid.exe INPUT=.\input\shg_07262005_00z_oh.asc DSSFILE=SpecifiedOutPutFilename.dss PATHNAME=/SHG/OHRFC/PRECIP/25JUL2005:2300/25JUL2005:2400/MPE/

I see no reason to create multiple DSS files, which is why the SpecifiedOutPutFilename.dss is used for the parameter: DSSFILE

I would like to begin working on this, so please let me know if this may have already been done.

This method better allows users to use NCEI Nexrad output files in HEC-Metvue (https://www.hec.usace.army.mil/software/hec-metvue/)

By using the asc2dssGrid utility it injects the date/time information into the DSS pathname (D and E parts), that is missing in the .asc file headers. HEC-Metvue can then use the DSS grids, and determine from the DSS pathnames, the date/time information properly. Once the data is in HEC-Metvue, a user can create Specified Hyetographs for use in HEC-HMS, as an alternate Meteorological Model Method other than using ModClark and gridded precip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant