Re: Regarding editing attribute in ncl

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Mon Apr 28 2014 - 07:30:47 MDT

You must add 'units' attributes

   lat = data(::nlon,0)
   lat@long_name = "latitude"
   lat@units = "degrees_north"
   delete(lat@_FillValue) ; coordinate variables ... no _FillValue

   lon = data(0:nlon-1,1)
   lon@long_name = "longitude"
   lon@units = "degrees_east"
   delete(lon@_FillValue) ; coordinate variables ... no _FillValue

===

On 4/27/14, 9:00 AM, Nitin Patil wrote:
> Dear ncl users,
>
> I converted the ascii file to netcdf and it done successfully but while
> plotting it is not showing °N and
> °E as a suffix on my x and y axis to represent lat and lon.
>
> please find the attached code, ascii file and plot image.
>
> kindly let me know if anyone knows...
> --
> Regards,
> Nitin Patil
>
>
>
> _______________________________________________
> 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 Mon Apr 28 07:30:56 2014

This archive was generated by hypermail 2.1.8 : Tue Apr 29 2014 - 09:04:20 MDT