[ncl-talk] Cross sections other than west to east...

Suffern Paul paul.suffern at ntsb.gov
Thu Feb 20 09:07:35 MST 2020


Good morning,

I recently upgraded to NCL 6.6.2 (yes it takes me a while to upgrade to most current routine/versions). For the past few years I've used the attached script to make cross sections and it works out superbly well until this latest upgrade. I've noticed I can make west to east cross section no issues when adjusting the:

  lats  =  (/60.5042, 60.5042/)
  lons  =  (/-150.500, -149.833/)

"lons" portion of the file. When I used the "lats" portion of the file still within the domain the file crashes giving this Error:

fatal:Dimension size mismatch on subscript #1, left-hand and right-hand side dimensions do not match
fatal:["Execute.c":8637]:Execute: Error occurred at or near line 219 in file XsectionPresRiLatLon_abt.ncl

Again, I can change the "lons" file to whatever I want within the domain with no issues... Before this upgrade to NCL 6.6.2 I could adjust lats and lons to any point in the domain I wanted with no issues.

Thanks for any ideas!

Paul

Paul Suffern
Senior Meteorologist, National Transportation Safety Board
Operational Factors Division (AS-30)
Office: 202-314-6338
Cell: 202-384-2162
Email: paul.suffern at ntsb.gov<mailto:paul.suffern at ntsb.gov>

CONFIDENTIALITY NOTICE - THIS E-MAIL TRANSMISSION MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL, PROPRIETARY, SUBJECT TO COPYRIGHT, AND/OR EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. IT IS FOR THE USE OF INTENDED RECIPIENTS ONLY. If you are not an intended recipient of this message, please notify the original sender immediately by forwarding what you received and then delete all copies of the correspondence and attachments from your computer system. Any use, distribution, or disclosure of this message by unintended recipients is not authorized and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200220/5b0260fe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: X_horizontalwind_PresLatLon_abt.ncl
Type: application/octet-stream
Size: 9067 bytes
Desc: X_horizontalwind_PresLatLon_abt.ncl
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200220/5b0260fe/attachment.obj>


More information about the ncl-talk mailing list