I have the CORDEX netcdf data and I would like to convert them to raw text file that can be used for importing data to DHI Mike.
To give more context, I have previously converted the ECMWF netcdf (historical) data into the the raw text compatible for DHI Mike, using a Python script. In this Github repository, I have these files:
- "2020.nc" is the ECMWF netcdf data
- "2020 (2).txt" the converted text file
- "py_ecmwf_gridseries_convertor.ipynb" the python script for the required conversion.
Now what I am trying to achieve is to do a similar conversion, but this time on the CORDEX (projected) data. In the same repository I have a sample CORDEX file named "out1.nc".
I would appreciate it if the community can point me toward the right direction.
P.S.
If it helps, the metadata in the raw text file is as follows:
"Title" "caspian-sea"
"Dim" 2
"Geo" "LONG/LAT" 47 31 0
"Time" "EqudistantTimeAxis" "1970-01-11" "04:06:00" 4 3600
"NoGridPoints" 45 33
"Spacing" 0.25 0.25
"NoStaticItems" 0
"NoDynamicItems" 1
"Item" "2 metre temperature" "t2m" "K"
NoCustomBlocks 1
"M21_Misc" 1 7 0 -1E-030 -900 -999 -1E-030 -1E-030 -1E-030
"Delete" -1E-030
"DataType" 0