[Thread Prev][Thread Next][Index]

[ferret_users] Spatial regridding



Hello Sir
I am trying to regrid data of different resolutions to one single type,
from the code I got, I was trying it and encounters error. The terminal script is attached. What changes should I make?

yes? use chl96_12.nc
           *** NOTE: Axis coordinates are decreasing-ordered. Reversing ordering for axis lat
           *** NOTE: Ignored modulo length exceeding axis length: lon
           *** NOTE: Internal err: unknown data type
yes? sh da
     currently SET data sets:
    1> ./chl96_12.nc  (default)
 name     title                             I         J         K         L         M         N
 CHLOR_A  Chlorophyll Concentration, OCI   1:4320    1:2160    ...       ...       ...       ...
 PALETTE                                   1:256     1:3       ...       ...       ...       ...
 
yes? sh grid chlor_a
    GRID GJT1
 name       axis              # pts   start                end                 subset
 LON       LONGITUDE         4320 r   179.96W(-179.96)     179.96E(179.96)     full
 LAT       LATITUDE          2160 r   89.958S              89.958N             full
 normal    Z
 normal    T
 normal    E
 normal    F

yes? fill chlor_a
yes? def axis/x=-180:180:0.25/units=degrees lon
Replacing definition of axis LON
           *** NOTE: grid GJT1 used by data set chl96_12
           *** NOTE: Redefinition may alter apparent contents of data set
yes? def axis/y=-70:-50:0.25/units=degrees lat
Replacing definition of axis LAT
           *** NOTE: grid GJT1 used by data set chl96_12
           *** NOTE: Redefinition may alter apparent contents of data set
yes? def grid/x=lon/y=lat chl1
yes? let cg=chlor_a[g=chl1@ave]
yes? save/file=c96.nc/clobber cg
 LISTing to file c96.nc
yes? use c96.nc
yes? fill cg
 **ERROR: variable unknown or not in data set: CHLOR_A[G=CHL1@AVE]


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

Privacy Policy | Disclaimer | Accessibility Statement