Converting netcdf file to grads .grd binary file

Dear All,

Hope you are well. I have been using Linear Baroclinic Model (Watanabe 2000) for a study and I prepared a forcing file of latent heating using xarray. The file is in of course netcdf format. However, I need to transform it to a .grd file (and corresponding .ctl file) to incorporate it into the model. Scouring the internet, I have not been able to solve this issue. I have tried ncl, cdo etc. CDO for example changes the vertical levels to pressure from sigma. I need the file to be in sigma coordinates.

I would really appreciate if someone could help me on this. Thank you.

Nazimur
International Centre for Theoretical Physics

1 Like

Welcome @nrchow!

If you want someone to help you, you’ll need to provide a lot more detail. For example.

  • Share the file in question
  • Share the code you have tried so far
  • Share the documentation about the file format you want to transform it to (I’ve never heard of .grd or .ctl files)