{"action":"closed","issue":{"url":"https://api.github.com/repos/NOAA-PMEL/Ferret/issues/288","repository_url":"https://api.github.com/repos/NOAA-PMEL/Ferret","labels_url":"https://api.github.com/repos/NOAA-PMEL/Ferret/issues/288/labels{/name}","comments_url":"https://api.github.com/repos/NOAA-PMEL/Ferret/issues/288/comments","events_url":"https://api.github.com/repos/NOAA-PMEL/Ferret/issues/288/events","html_url":"https://github.com/NOAA-PMEL/Ferret/issues/288","id":276197943,"number":288,"title":"Data on fine regular grids plotted as irregular","user":{"login":"karlmsmith","id":16406727,"avatar_url":"https://avatars0.githubusercontent.com/u/16406727?v=4","gravatar_id":"","url":"https://api.github.com/users/karlmsmith","html_url":"https://github.com/karlmsmith","followers_url":"https://api.github.com/users/karlmsmith/followers","following_url":"https://api.github.com/users/karlmsmith/following{/other_user}","gists_url":"https://api.github.com/users/karlmsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/karlmsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlmsmith/subscriptions","organizations_url":"https://api.github.com/users/karlmsmith/orgs","repos_url":"https://api.github.com/users/karlmsmith/repos","events_url":"https://api.github.com/users/karlmsmith/events{/privacy}","received_events_url":"https://api.github.com/users/karlmsmith/received_events","type":"User","site_admin":false},"labels":[{"id":323826821,"url":"https://api.github.com/repos/NOAA-PMEL/Ferret/labels/bug","name":"bug","color":"fc2929","default":true},{"id":757390769,"url":"https://api.github.com/repos/NOAA-PMEL/Ferret/labels/P:%20high","name":"P: high","color":"f9d0c4","default":false},{"id":758304202,"url":"https://api.github.com/repos/NOAA-PMEL/Ferret/labels/S:%20normal","name":"S: normal","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-22T20:38:20Z","updated_at":"2017-11-22T20:38:30Z","closed_at":"2017-11-22T20:38:30Z","author_association":"CONTRIBUTOR","body":"**Reported by Ansley B Manke on 22 May 2003 21:34 UTC**\nexample:\n  use etopo20\n  shade rose\n\nIn PPLUS, shade plots are made differently if they're on an \nirregular grid.  This is even without the use of a cellarray\ncall, but using cellarray makes this more important. Irregular \ngrids are flagged in DISP_SET_UP, at a call to AXIS_INTERVALS\n\nAXIS_INTERVALS creates a single-precision array with the axis\ncoordinates.  It then applies a test \n\n\n  regrid = .FALSE.\t! assume it's not needed\n  d_regrid = axis( lo_cx + 1 ) - axis( lo_cx )\n  DO 200 i = lo_cx+1, hi_cx-1\n* ... test within precision limits that may be visible in a plot\n      IF (ABS((axis(i+1)-axis(i))/d_regrid - 1.0) .GT. 3.E-6) THEN\n\t   regrid = .TRUE.\n\t   d_regrid = MIN( d_regrid, axis(i+1)-axis(i) )\n      ENDIF\n 200 CONTINUE\n\ni.e. for the grid of etopo20 degree this test sees the \naxis as not regular, and flags it as such with the \"regrid\"\nflag.\n\nDISP_SET_UP knows whether the axes are regular.  I propose\nsending a flag into AXIS_INTERVALS so that if it's known\nthat the axis is regular, this loop need not be executed.\nOtherwise the above test must be set to be more like \n IF (ABS((axis(i+1)-axis(i))/d_regrid - 1.0) .GT. 3.E-4)\nbecause coordinates like 300.500, 300.8333, 301.1667  really \nonly have 4 accurate digits after the decimal point.\n\nMigrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/556"}}
{"actor":{"display_login":"karlmsmith"}}