Posted Wed, 30 Apr 2014 16:17:20 GMT by Brett Gerard Research Assistant/Student
Is there any automated tool or process for taking a NetCDF file (NEXRAD) and transferring it into a dfs2 time series file? It seems straight forward enough to do this manually in MikeZero, but I need/want grid files for 3hr precipitation over the period of a year.
Posted Thu, 01 May 2014 08:21:08 GMT by Oluf Jessen
Hi,

I'm not aware of any existing tools released by DHI that could do this.

In order to do this you could make a small tool using 1) a library for reading the netcdf files, and 2) the DHI SDK for writing the data into a time varying dfs2 file.

For reading the netcdf files you could use the Gdal open source library (http://www.gdal.org/) for converting each time step in the netcdf file to an ASCII grid file, and then converting the grid files to a time varying dfs2 file using the DHI SDK (see example at http://www.youtube.com/watch?v=q3pfVKRgI6g).

There might be other ways of doing this, but this is one way we have used before.

BR
Oluf (DHI)

You must be signed in to post in this forum.