I have ECMWF ERA-INTERM wind and wave data in GRIB file. how can i extract the data from GRIB file, and how i am using the data GRIB file in MIKE 21 SW model. Please give me your suggestion
You can convert GRIB file to the text in MATLAB using NCTOOLBOX. Then you must add some header lines to the text file to be able to convert it to DFS2. The header lines include geographical coordination, number of cells in x & y direction, list of parameters i.e. U, V, MSLP, etc.
Hi, I agree with Mostafa, you can download your data with NetCdf format too.convert them to AscII File which mike 21 can read it. but you have to know about netcdf format . before you put the header lines in your text, you have to extract data correctly. there are (scale factor) and (add_offset) which you have to add them to your data.
In case you are still interested, there are now tools from DHI to convert GRIB and NetCDF files into MIKE standard files. You can download them at: https://www.mikepoweredbydhi.com/download/mike-by-dhi-tools