NOAA-PMEL / Ferret

The Ferret program from NOAA/PMEL
https://ferret.pmel.noaa.gov/Ferret/
The Unlicense
55 stars 20 forks source link

polygon with lon/lat units issues error and does not format axes #513

Closed karlmsmith closed 6 years ago

karlmsmith commented 6 years ago

Reported by @AnsleyManke on 14 Dec 2004 18:36 UTC Guy.Munhoven@ulg.ac.be 14-Dec-2004

Dear Ferret developers,

I am running into trouble while using Ferret's POLYGON command (the 2D version), with X coordinates that have "longitude" attribute and units of "degrees_east", and Y coordinates that have "latitude" and "degrees_north" coordinate.

I have been able to track down the error from my multi-megeyte NetCDF data set, to the following simple script, adapted from one provided in the users manual:

LET XTRIANGLE = YSEQUENCE({-1,0,1}) LET YTRIANGLE = YSEQUENCE({-1,1,-1}) LET XPTS = 120+30RANDU(I[i=1:10]) LET YPTS = 30RANDU(1+I[i=1:10]) LET/title="longitude"/units="degrees_east" XT = XTRIANGLE+XPTS LET/title="latitude"/units="degrees_north" YT = YTRIANGLE+YPTS POLYGON XT, YT, I[I=1:10]

I have access to Ferret on 2 different architectures: 1/ version 5.7 (RedHat 7 binary, under Debian 3.0 Linux) 2/ version 5.53 under IRIX 6.5

The version 5.7 under Debian prints out the error message Symbol not found
XFOR (I7,'LONE') and aborts the ferret session. The version 5.53 under IRIX prints out the error messages Symbol not found
XFOR (I7,'LONE') ^ Symbol not found
YFOR (I7,'LAT') but, still produces the graph, and continues running. However, the axes are not correctly labelled, with xxx deg E etc).

(Under Solaris, we also get the error messages and unlabelled axes, but no crash.) See polygon_set_up.F

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1130

karlmsmith commented 6 years ago

Comment by @AnsleyManke on 7 Feb 2006 20:28 UTC This got fixed before the release of Ferret v5.80