Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2021-06-16 12:15:15
Size: 581
Editor: EricPalmer
Comment:
Revision 4 as of 2021-06-16 12:18:55
Size: 1270
Editor: EricPalmer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:

= Global =
= Grid to GeoTIF =
Line 26: Line 25:
------


= Global =


   {{{
   cp SHAPE.TXT tmp
   vi tmp
   1,$s/D/E/g
   ZZ
   convertLonLat tmp > radius.ll

   }}}


Line 27: Line 43:



Line 50: Line 70:


--------

= Make Pretties =

{{{
gmt begin GMT_cont
gmt set GMT_THEME cookbook
gmt grdcontour test.nc
gmt end show
#gmt grdcontour test.nc -C10 -A50

gmt begin GMT_img
gmt set GMT_THEME cookbook
#gmt makecpt -Crainbow
gmt grdimage test.nc -JM6i -B -BWSnE
gmt colorbar -DJTC -Bxa -By+lm
gmt end show


gmt begin GMT_img
gmt makecpt -Crainbow
gmt set GMT_THEME cookbook
gmt grdimage test.nc $argR -JM6i -B -BWSnE
#gmt colorbar -DJTC -I0.4 -Bxa -By+lm
gmt colorbar -DJTC -Bxa -By+lm
gmt end show


}}}

Grid to GeoTIF

var=radius.ll
new=big3
argR="-R280/287/-9/-3"
argR="-R0/360/-90/90"
argI="-I0.04"

date
echo "Blockmean"
gmt blockmean $var $argR $argI  > out

echo "sphereinterpolate"
cat out |  gmt sphinterpolate $argR $argI -Gtest.nc


echo "gdal translate"
gdal_translate -of GTiff -b 1 -a_srs 60300.prj  NETCDF:test.nc $new.tif


Global

  •    cp SHAPE.TXT tmp
       vi tmp
       1,$s/D/E/g
       ZZ
       convertLonLat tmp > radius.ll

Topography

Sigmas

Number of Images

Slope

Albedo


Regional

Topography

Sigmas

Number of Images

Slope

Albedo


Make Pretties

gmt begin GMT_cont
gmt set GMT_THEME cookbook
gmt grdcontour test.nc
gmt end show
#gmt grdcontour test.nc -C10 -A50

gmt begin GMT_img
gmt set GMT_THEME cookbook
#gmt makecpt -Crainbow
gmt grdimage test.nc  -JM6i -B -BWSnE
gmt colorbar -DJTC -Bxa -By+lm
gmt end show


gmt begin GMT_img
gmt makecpt -Crainbow
gmt set GMT_THEME cookbook
gmt grdimage test.nc  $argR  -JM6i -B -BWSnE
#gmt colorbar -DJTC -I0.4 -Bxa -By+lm
gmt colorbar -DJTC -Bxa -By+lm
gmt end show

Archiving SPC (last edited 2023-05-01 08:35:29 by JohnWeirich)