Re: Changing latitude/longitude to simple x/y coordinates

From: Dave Allured <dave.allured_at_nyahnyahspammersnyahnyah>
Date: Sat Apr 17 2010 - 15:08:48 MDT

I think that the units attributes on your x and y variables are
causing the E and N suffixes. Are these attributes degrees_north
and degrees_east?

In NCL, try deleting the units attributes from in-memory copies of x
and y, before plotting:

delete (x@units)
delete (y@units)

--Dave A.
NOAA/PSD/CIRES

On 4/16/2010 11:54 PM, Wee-Beng TAY wrote:
> Hi,
>
> I have a netcdf data file which has latitude and longitude components.
> However these latitude and longitude are only Y/X values.
>
> When I plot using NCL, they appear as 60E, 120N. However I only want
> them to appear as numbers, and if possible, do some scaling and shifting
> e.g.:
>
> new x = 10.*(old x)+20.
>
> How can I do that?
>
> Thanks alot!
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sat Apr 17 15:08:58 2010

This archive was generated by hypermail 2.1.8 : Fri Apr 23 2010 - 14:40:07 MDT