Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cellarry plots fail when /hlim is outside the range of data coordinates #370

Closed
karlmsmith opened this issue Nov 22, 2017 · 1 comment
Closed

Comments

@karlmsmith
Copy link
Contributor

karlmsmith commented Nov 22, 2017

Reported by @AnsleyManke on 3 Feb 2004 19:11 UTC
We get a gcellarray error on:

ferret -gif

yes? use coads_climatology
yes? shade/hlim=1:5/vlim=1:5 sst[l=1]
gcellarray() 91 Dimensions of colour array are invalid

This has to do with the setup of the color-pixel array
in routine shade_sub. It compares the x axis coordiantes
of sst with the requested plot limits, with no modulo-ness
applied to the axis (this is normal behavior for /HLIM plots:
Compare the commands fill/HLIM=-180:180 sst[L=1] and
fill/X=-180:180 sst[L=1])

Add a check for this in shade_sub.F where the cellarray pixel
data is being set up.

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

@karlmsmith
Copy link
Contributor Author

karlmsmith commented Nov 22, 2017

Comment by @AnsleyManke on 15 Mar 2004 23:20 UTC
fixed in shade_sub.F

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant