[Thread Prev][Thread Next][Index]

[ferret_users] Fw: problem in REshape




Hi,
I try this script:

define axis/t=1:30/npoints=697/units=day day_axis
yes? let/unit='W/m^2'/title='long wave heat flux' qlwave_on_time=RESHAPE(qlwave,t[gt=day_axis])
yes?  plot qlwave_on_time[x=74,y=33]
but it produces the attached plot 1.
While when I just ask plot qlwave[x=74,y=33] it plots correctly as in the second attachment.
anybody knows why the RESHAPE command works improperly?

here is the details:

use rhoneG_1.tsout2N
yes? sh d
     currently SET data sets:
    1> ./rhoneG_1.tsout2N  (default)
 name     title                             I         J         K         L         M         N
 XOUT     longitude                        1:193     1:87      ...       ...       ...       ...
 YOUT     latitude                         1:193     1:87      ...       ...       ...       ...
 DEPOUT   Mean_water_depth                 1:193     1:87      ...       ...       ...       ...
 TIME     Time                             ...       ...       1:697     ...       ...       ...
 QLWAVE   Long-wave_heat_flux              1:193     1:87      1:697     ...       ...       ...

 Thank you,
Sara







Attachment: 1.png
Description: PNG image

Attachment: 2.png
Description: PNG image


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

Privacy Policy | Disclaimer | Accessibility Statement