Re: NCL not plotting first 200 m in the vertical cross section

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Feb 15 2011 - 08:11:44 MST

Dear Basit,

Thanks for providing the files offline. In looking at the data you're plotting, the picture is correct.

After you subset "rh_plane" using zmax_pos, the vertical, or "y" dimension of your data only has 6 elements, and the whole first row of these is missing. You can verify this with:

print(all(ismissing(rh_plane(0,:))))

This is why you are getting no contours from 0 to 0.2.

Please recheck your calculations before you plot the data, and make sure you are calculating "zmax_pos" correctly.

--Mary

On Feb 14, 2011, at 12:04 PM, Basit Khan wrote:

> Hi Mary,
> Thanks . I am using version 5.2.1 of ncl. The vertical cross section code is attached. The Lat-long information is hard wired so would you need to change it according to your .nc file.
>
> Regards,
> Basit
>
> This email may be confidential and subject to legal privilege, it may
> not reflect the views of the University of Canterbury, and it is not
> guaranteed to be virus free. If you are not an intended recipient,
> please notify the sender immediately and erase all copies of the message
> and any attachments.
>
> Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more
> information.
>
> <vcross-section.ncl>_______________________________________________
> 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 Tue Feb 15 08:11:48 2011

This archive was generated by hypermail 2.1.8 : Tue Feb 15 2011 - 09:43:19 MST