HydrologicEngineeringCenter / Vortex

data processing utilities
MIT License
25 stars 7 forks source link

Converting "nc" and "grib" precipitation grided data to "dss" for HEC HMS modeling #88

Closed bayejja-Med closed 1 year ago

bayejja-Med commented 1 year ago

Hello everybody,

I am flowing the steps to convert "nc" and "grib" precipitation gridded data to "DSS" for HEC HMS modeling but the final result is only one single record or with no records at all when opening it using HEC DSSvue!

I used "Grided Data Import data Wizard" within the HEC HMS interface, always had the same problem with HEC HMS 4.8, 4.10, and beta 4.11.

Any advise please? bayejjamed@gmail.com

the steps I flowed : Creating Gridded Boundary Conditions for HEC-HMS

bayejja-Med commented 1 year ago

@rgoss @HenryGeorgist @tombrauer @danhamill any help please !

danhamill commented 1 year ago

@bayejja-Med We will need to see some screenshots of how you are using the UI to tell you more.

I can think of a few things:

  1. maybe you aren't selecting all the files a. for gribs, you need to select multiple files b. for .nc files you just select the variable you want
  2. vortex is writing all the grids to the same timestamp. So each time the new grid is overwriting the previous grid.
tombrauer commented 1 year ago

@bayejja-Med does your NetCDF file have a time dimension?

bayejja-Med commented 1 year ago

@danhamill

Here is the steps I followed within HEC HMS : nc files to DSS.pptx

Here is the data I have used (daily precipitation downloded from CDS PLATFORME:

dataset-satellite-precipitation-ea9352b3-3553-480a-8f80-e89c7220ea51.zip

bayejja-Med commented 1 year ago

@tombrauer Hwo can I verify this ?

I opned the data in QGIS, the metada description shows this :

image

danhamill commented 1 year ago

The netcdf files appear to have a time dimension, but have time series with a single timestep::

image

Looking at the screenshot of your desktop, you issue might be related to the locale setting in windows. See #29

danhamill commented 1 year ago

I was able to successfully import a grid using v.11.0. However, you would need to update the part e, because the timestep cannot be inferred from a netcdf file with a single timestep.

image

tombrauer commented 1 year ago

For this case you'll need to use a two step workflow: 1) Import grids with the importer utility, 2) Time-shift start or end time with the time-shifter utility. For more, see: https://github.com/HydrologicEngineeringCenter/Vortex/issues/82

bayejja-Med commented 1 year ago

@danhamill thank you, indeed it is all about locale setting in windows. It works now.

@tombrauer thank you as well

bayejja-Med commented 1 year ago

Done, see 29