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.