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

Rick Brownrigg brownrig at ucar.edu
Thu Feb 20 09:37:15 MST 2020


Hi Paul,

Unfortunately, line 219, referenced in the error message, does not line up
with anything in the script you sent that could possibly generate that
error, and note that the filename referenced in the error is different that
what you attached.

"Guess"ing as to where the problem might be, the only real place where
lat/lon get referenced is line 115, in a call to wrf_user_ll_ij.  If that's
the case, then I noticed that the docs say that function is deprecated as
of version 6.6.0, and to use wrf_user_ll_xy instead.  I don't know what the
difference between them is, but perhaps that might resolve your issue

    http://ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_ll_to_ij.shtml

Hope that helps...
Rick

On Thu, Feb 20, 2020 at 9:08 AM Suffern Paul via ncl-talk <ncl-talk at ucar.edu>
wrote:

> 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 <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.
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200220/ab0afeb7/attachment-0001.html>


More information about the ncl-talk mailing list