Hi everyone,

I managed to do the conversion with the following commands.

Step 1: ncatted -a coordinates,mslp,c,c,"xlon xlat" P_ATM.ens.1ts.nc
Step 2: cdo remapbil,grid.txt P_ATM.ens.1ts.nc output.nc

Thanks Ufuk, Ivan and Thanos for the help

Regards,
James


On 4 September 2014 09:01, Ufuk Utku Turuncoglu (BE) <bartimuf@gmail.com> wrote:
Hi James,

I think that you could still use CDO but before the interpolation step, just extract the variable from the input file. So, you could use following commands (for example, tas variable),

1 - ncks -v xlon,xlat,mask,tas source.nc source_tas.nc
2 - cdo remapbil,destgrd.txt source_tas.nc destination_tas.nc

in this case you might want to check the content of the 'destgrd.txt' file. It must contain correct grid information (only one grid definition). Otherwise CDO could give type generic error.

I hope it helps,

Regards,

--ufuk



On 03/09/14 16:39, James Ciarlo` wrote:
Hi RegCNET,

I have a netcdf file with RegCM output data that I have prepared with the help of CDO. However the data is in ROTMER and I need to convert it to NORMER. I have tried with cdo remapbil but I get an error saying that its type generic.

Can anyone suggest a way to regrid data? Because I cannot find out how to do it with cdo

Regards,
James


_______________________________________________
RegCNET mailing list
RegCNET@lists.ictp.it
https://lists.ictp.it/mailman/listinfo.cgi/regcnet