How to convert NC files to DFS (Data File System) files using DHI matlab toolbox?

21 views (last 30 days)
Hi,
I hope everyone is doing well.
I have some NC data files and I am trying to convert them to dfs files using DHI matlab toolbox. However, I am not sure how to write the script.
So far, I have been able to read the NC files in Matlab. Now, I need to use DHI matlab toolbox to generate a dfs file.
Info regarding NC file:
Size: 325x200x8760
Dimensions: x,y,time
Datatype: single
Attributes:
_FillValue = 1.000000020040877e+20
standard_name = 'surface_air_pressure'
long_name = 'surface pressure'
units = 'Pa'
coordinates = 'lon lat'
cell_method = 'time: point values 3600.0 seconds'
grid_mapping = 'Rotated_pole'
If someone can help me with this, I would really appreciate it.
Regards,
  1 Comment
Kaushal Kumandur
Kaushal Kumandur on 7 May 2023
I am currently doing something similar. Taking the BARRA netcdf files from Australia's Bureau of Meteorology and converting those netcdf to dfsu format. How did it go for you? I will post the answer if I complete my code successfully.

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!