interTwin-eu / DT-flood

Deltares bits and pieces to use in flood modeling
MIT License
1 stars 1 forks source link

Writing model output to FDB (GRIB) #5

Open backeb opened 3 months ago

backeb commented 3 months ago

Short Description of the issue

For DestinE, data needs / should to be written to FDB to leverage DestinE's federated data management.

FDB requires that the data compliant with the WMO standard.

Here we discuss the requirements to do so and whether or not this is within scope for interTwin.

WOTrompDeltares commented 3 months ago

Currently our flood map output is netcdf format. It should be possible to write this in grib format instead, but we'd need to know what it means for our data to be WMO compliant

awarde96 commented 3 months ago

FDB is also able to work with netcdf directly with some tuning of the metadata in the netcdf, this may be a solution.

As mentioned converting youre netcdf files to grib is the most straightforward solution however this is quite difficult as grib has strict metadata and format requirements. There are a few tools out there to do this like cdo ( https://code.mpimet.mpg.de/projects/cdo) and YAC (https://dkrz-sw.gitlab-pages.dkrz.de/yac/) but these take quite a bit of work and knowledge of the netcdf files and grib to get working.

I'm currently trying to find out if this has been done internally in an easier way as this problem has come up in a few contexts in other use cases also.

backeb commented 3 months ago

notes from meeting with THomas

action