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

From: Basit Khan <basit.khan_at_nyahnyahspammersnyahnyah>
Date: Tue Feb 15 2011 - 21:15:01 MST

Hi Mary,

 

Thanks for help me out. It's all done nicely and looks neat. I can't
see topography at the moment, but I think its not a big issue, I just
have to work through the code and hopefully be able to fix it by myself

 

Thanks again.

Basit

 

 

From: Mary Haley [mailto:haley@ucar.edu]
Sent: Wednesday, 16 February 2011 4:12 a.m.
To: Basit Khan
Cc: ncl-talk@ucar.edu
Subject: Re: NCL not plotting first 200 m in the vertical
cross section

 

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

 

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.

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 15 21:15:14 2011

This archive was generated by hypermail 2.1.8 : Thu Feb 17 2011 - 22:00:17 MST