Question on using multislabbing

  • Hem Nalini Morzaria Luna

    Hi, I am using multislabbing climate model projection files to change latitude from a 0-362 positive grid to a -180 to 180.

    ncks -O -v tos,i,j --msa_usr_rdr -d i,183.,362. -d i,0.,182.

    ncap2 -O -s "where(i > 180) i=i-360"

    These commands work, but I am not able to see the output in a netcdf viewer (I'm using Panoply), it's seems once I do the reordering it can't interpret the file anymore and I just want to check my syntax is correct and I won't have trouble later on - I then calculate climatologies, anomalies (historical and predictions), reproject in CDO and then I import to ARcGIS to do spline with barriers interpolation.


    Last edit: Hem Nalini Morzaria Luna 2013-11-20
  • Charlie Zender

    Charlie Zender - 2013-11-20

    syntax looks good to me. maybe panoply does not like -180,+183 grids?

  • Hem Nalini Morzaria Luna

    Thanks, Panopply will read the original NC grid, but not after multislabbing. Hopefully someone in the forum has had some experience working with these data. I am not sure if I need to change something in the headers or file description.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks