[Thread Prev][Thread Next][Index]

Re: [ferret_users] **ERROR: inconsistent sizes of data regions: can't label X axis of C



Hi Ansley,

It seems to be a case of when does Ferret know things as it's working through a set of expressions and operations.  In your example, change it to an implied range of averaging in X,


  yes? set data levitus_climatology
  yes? let mt = temp[x=@AVE,y=90S:90N@AVE,z=0:6000@AVE]
  yes? let a = {0, 0, 1, 1}
  yes? plot/line/symbol/vlimits=-1:4/hlimits=0:5 a*mt
   **ERROR: inconsistent sizes of data regions: can't label X axis of MT

It really should treat these two examples the same, so this is a bit of a bug -- It's incorrectly deciding it can't resolve the context in X when combining the X information for variables A and MT.

Thanks for the example.  That's what I was puzzled about, because the LIST command is able to tell that it reduces to a single value:

yes? set data levitus_climatology
yes? let mt = temp[x=@AVE,y=90S:90N@AVE,z=0:6000@AVE]
yes? list mt
             VARIABLE : TEMP[X=@AVE,Y=90S:90N@AVE,Z=0:6000@AVE]
             FILENAME : levitus_climatology.cdf
             FILEPATH : /usr/local/ferret/data/
             LONGITUDE: 20E to 20E(380)
             LATITUDE : 90S to 90N
             DEPTH (m): 0 to 5000
          3.865

Cheers,

Ryo


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement