Version of gridded data
vcloarec opened this issue · comments
Hi,
I am playing a bit with gridded data in DSS files. I am trying to access to some gridded data, but I am stuck at the level of gridStruct->_structVersion
that has to be equal to VERSION_100
to be able to be read, see here:
I am wondering what is defining this version records in HEC world.
Thanks.
I am trying to access to file : https://github.com/HydrologicEngineeringCenter/dss-test-data/blob/ed944e53f66bf68c5977195a71ff2502faa9c05f/grid/v7snow_with_date.dss
But with tihs file, gridStruct->_structVersion == 300
OK, got it, I've seen how to handle this here: https://github.com/HydrologicEngineeringCenter/hec-dss/tree/master/heclib/grid
But does the code present in the "grid" part is exposed somewhere in this library or other one ?
That directory hec-dss/heclib/grid is for read only support for DSS version 6 grids. DSS 6 will be deprecated in the future.
Here is an example program that creates DSS 7 grids from a tiff file.
https://github.com/HydrologicEngineeringCenter/tiffdss
Here are some notes about DSS6 and DSS7.
gyanz/pydsstools#36
@ktarbet , thanks a lot! It helps me a lot to write a valid DSS grid.