If you are using
Navigator 4.x
or
Internet Explorer 4.x
or
Omni Web 4.x
, this site will not render
correctly!
gfdl's home page > people > John Dunne >
some useful postprocessing commands
This HOWTO describes some useful tricks for visualizing data.
Ocean Physical Diagnostics
Plotting currents:
-
vector/k=1/len=0.5/xskip=1/yskip=1/x=115e:245w u[l=@ave],v[l=@ave];go land
-
sha/palette=no_green_centered/lev=(-30,30,3) ty_trans[x=@sum,k=@rsum,l=@ave]+ty_trans_gm[x=@sum,l=@ave]
contour/ov/lev=(-30,30,3) ty_trans[x=@sum,k=@rsum,l=@ave]+ty_trans_gm[x=@sum,l=@ave]
-
sha/palette=no_green_centered/lev=(-30,30,3) ty_trans_rho[x=@sum,k=@rsum,l=@ave]
contour/ov/lev=(-30,30,3) ty_trans_rho[x=@sum,k=@rsum,l=@ave]
-
list tx_trans[x=70w,y=-90:-40@sum,l=@ave,k=@sum]
-
let nadw= ty_trans[x=70w:20E@sum,y=-25,k=@rsum]+ty_trans_gm[x=70w:20E@sum,y=-25]
list nadw[k=@min,l=@ave]
-
list ty_trans[x=100e:135e@sum,y=0,l=@ave,k=@sum]
-
list ty_trans[x=82w:70w@sum,y=27,l=@ave,z=0:1000@sum]
-
list tx_trans[x=144e,y=27:45@sum,l=@ave,z=0:1000@sum]
-
list ty_trans[x=170w:160w@sum,y=65,l=@ave,k=@sum]
-
list wt[z=1000,x=@din,y=-30:30@din,l=@ave]/1e6
-
let htrans=(temp_adv_flux_y_int_z+temp_yflux_neutral_int_z+temp_yflux_sigma+temp_yflux_overflow_int_z)/1e15
plot htrans[l=@ave,x=@sum]
-
use "/archive/jpd/jakarta/preprocessing/om1new/woa01_salt_annual_om1p5.nc"
let salti=salt[d=2]*salt[d=1,l=240]/salt[d=1,l=240]
set win 1
sha/lev=(33.8),(34.2,34.8,0.01),(35.8)/palette=modulo salti[x=170w:178w@ave,y=-80:-30]
set win 2
sha/lev=(33.8),(34.2,34.8,0.01),(35.8)/palette=modulo salt[x=170w:178w@ave,y=-80:-30,l=240,d=1]
-
set win 1
sha/lev=(33.8,35,0.1),(35.8) salti[x=0,y=-80:-30]
set win 2
sha/lev=(33.8,35,0.1),(35.8) salt[x=0,y=-80:-30,l=240,d=1]
Ocean Biogeochemical Diagnostics
Calculating global integral of particle export:
-
list fpon[z=75,x=@din,y=@din,l=@ave]*86400*365*117/16*12/1e15
-
list (jdon[z=0:75@din,x=@din,y=@din,l=@ave]*117/16+jldoc[z=0:75@din,x=@din,y=@din,l=@ave])*86400*365*12/1e15
-
Create the .gifs in Ferret:
-
REPEAT/l=1:46 (sha/lev=(-2,2,0.1) log(CHL[k=1);go land; FRAME/FILE=whirl-`l`.gif)
-
whirl-1.gif
whirl-2.gif
whirl-3.gif
...
-
whirlgif -o chl_movie.gif -i whirlgif_infile -time 50
-
sha/lev=(-2,2,0.1)/set_up log(CHL[k=1) ! the /set_up initializes pplus
ppl list labels ! find the numeric value of the label
go unlabel 3 ! remove the third label
ppl shade ! make the plot
-
cpio -iv < 19380101.nc.cpio
cpio -iv < 19380501.nc.cpio
cpio -iv < 19380901.nc.cpio
...
-
ncrcat -O -h -v chl *.ocean_bgc_phyto_sc.nc chl_timeseries.nc
