Dear Ansley,
It works BUT there is some problem: (below is ferret
command lines)
In original raw data, latitude and longitude grid is
J=1:1755, so XCH4 output should be XCH4/I=1:1755/J=1:1755, I
guess I did some some mistake.
Here I am attaching raw data file as well as plots
generated from this file (netcdf data file size= 272K, plots
size = 26K, 11K, 9K total three plots)
**********************************************
! NOAA/PMEL TMAP
! FERRET v6.95
! Linux 2.6.32-573.7.1.el6.x86_64 64-bit - 10/27/15
! 29-Nov-16 16:44
use ESACCI-GHG-L2-CH4-SCIAMACHY-WFMD-20111231-fv1.nc
sh d
currently SET data sets:
1>
./ESACCI-GHG-L2-CH4-SCIAMACHY-WFMD-20111231-fv1.nc
(default)
name title I J
K L M N
LATITUDE latitude ...
1:1755 ... ... ... ...
LONGITUDE longitude ...
1:1755 ... ... ... ...
XCH4 column-averaged dry air mole fr ...
1:1755 ... ... ... ...
let xdif=longitude[J=@DDF]
let xcross=xdif[J=@EVNT:0]
list longitude, xdif, xcross
DATA SET:
./ESACCI-GHG-L2-CH4-SCIAMACHY-WFMD-20111231-fv1.nc
ESA CCI SCIAMACHY WFMD XCH4
Y: 0.5 to 1755.5
Column 1: LONGITUDE is longitude (degree_east)
Column 2: XDIF is LONGITUDE[J=@DDF]
Column 3: XCROSS is XDIF[J=@EVNT:0]
LONGITUDE XDIF XCROSS
1 / 1: 144.1 0.5 0.0
2 / 2: 144.6 -0.5 1.0
3 / 3: 144.1 0.5 2.0
4 / 4: 144.5 -0.5 3.0
yes? let npts = `xcross[J=@LOC:1]`
!-> DEFINE VARIABLE npts = 2
yes? define axis/x/units=degrees_east
xaxis=longitude[J=1:`npts`]
!-> define axis/x/units=degrees_east
xaxis=longitude[J=1:2]
yes? let total = `latitude,return=isize`
!-> DEFINE VARIABLE total = 1
yes? define axis/y/units=degrees_north
yaxis=latitude[J=1:`total`:`npts`]
!-> define axis/y/units=degrees_north
yaxis=latitude[J=1:1:2]
yes? cancel data
ESACCI-GHG-L2-CH4-SCIAMACHY-WFMD-20111231-fv1.nc
yes? define grid/x=xaxis/y=yaxis xygrid
yes? file/var="xch4"/grid=xygrid
ESACCI-GHG-L2-CH4-SCIAMACHY-WFMD-20111231-fv1.nc
yes? sh d
currently SET data sets:
1>
./ESACCI-GHG-L2-CH4-SCIAMACHY-WFMD-20111231-fv1.nc
(default)
name title I J
K L M N
XCH4 XCH4 1:2 1:1
... ... ... ...
***************************************************
Great Thanks for your kind help,
Best Regards,
Yogesh