[RegCNET] Regridding regcm output

James Ciarlo` james.ciarlo at physics.org
Fri Sep 5 17:45:08 CEST 2014


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
<http://p_atm.ens.1ts.nc/>
Step 2: cdo remapbil,grid.txt P_ATM.ens.1ts.nc <http://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 at 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 listRegCNET at lists.ictp.ithttps://lists.ictp.it/mailman/listinfo.cgi/regcnet
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20140905/f073fd35/attachment.html>


More information about the RegCNET mailing list