Re: Blank map

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri Aug 13 2010 - 07:11:05 MDT

Try

  xlat=fin->XLAT(0,:,0)
  xlon=fin->XLONG(0,0,:)

  rainc = fin->RAINC(0,:,:) ;unit in mm
  rainnc = fin->RAINNC(0,:,:) ;unit in mm

  rain =rainc+rainnc
  rain@units = "mm"

  xlat!0 = "xlat"
  xlon!0 = "xlon"
  xlat@units = "degrees_north"
  xlon@units = "degrees_east"

  rain!0 = "xlat"
  rain!1 = "xlon"
  rain&xlat = xlat
  rain&xlon = xlon

  printVarSummary(rain)

On 8/13/10 5:16 AM, sourin saha wrote:
> Respected Mam,
> I have undergone the link you provided and yes your
> guess was right. I was undergoing through a similar problem whose
> solution was there in NCL FAQ page (No. 17) but two problem still exist
> .....
>
> 1. If I run this script it shows me an error that is "lat is not
> coordinate variable in variable(rain), error at line 53"
>
> 2. If you comment the line numbers 51-54 then the script runs but the
> problem exist with the plottings which are having a single value for
> whole domain and do not plot any contour over it, unless there is a
> contour difference coming within the map.
>
> I am attaching the script with this mail.... Thanking you.. Sourin
> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>
>
>
>
> _______________________________________________
> 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 Fri Aug 13 07:11:10 2010

This archive was generated by hypermail 2.1.8 : Fri Aug 13 2010 - 15:05:05 MDT