CEReS gridded data Bands and Numbers |
JMA's Himawari8/9 Bands | sampling gradation | Pixel x Line | gridded resolution | |
---|---|---|---|---|---|
EXT | 01 | Band 03 (0.64 μm) | 2048/11bit | 24000 x 24000 | 0.005 degree (approx. 500 m) |
VIS | 01 | Band 01 (0.47 μm) | 12000 x 12000 | 0.01 degree (approx. 1km) | |
02 | Band 02 (0.51 μm) | ||||
03 | Band 04 (0.86 μm) | ||||
SIR | 01 | Band 05 (1.6 μm) | 6000 x 6000 | 0.02 degree (approx. 2km) | |
02 | Band 06 (2.3 μm) | ||||
TIR | 01 | Band 13 (10.4 μm) | 4096/12bit | 6000 x 6000 | 0.02 degree (approx. 2km) |
02 | Band 14 (11.2 μm) | ||||
03 | Band 15 (12.4 μm) | ||||
04 | Band 16 (13.3 μm) | 2048/11bit | |||
05 | Band 07 (3.9 μm) | 16384/14bit | |||
06 | Band 08 (6.2 μm) | 2048/11bit | |||
07 | Band 09 (6.9 μm) | ||||
08 | Band 10 (7.3 μm) | 4096/12bit | |||
09 | Band 11 (8.6 μm) | ||||
10 | Band 12 (9.6 μm) |
ftp://hmwr829gr.cr.chiba-u.ac.jp/gridded/FD/V20151105/201507/TIR/201507070000.tir.01.fld.geoss.bz2To download the data, confirm the full path includes file name that composed of date and band, use "wget" command. This instruction will continue with thermal IR band (band13, 10.4 micro meter).
wget ftp://hmwr829gr.cr.chiba-u.ac.jp/gridded/FD/V20151105/201507/TIR/201507070000.tir.01.fld.geoss.bz2
bunzip2 201507070000.tir.01.fld.geoss.bz2
dd if=201507070000.tir.01.fld.geoss of=little-count.geoss conv=swab
od -d -An -w2 little-count.geoss |sort
wget ftp://hmwr829gr.cr.chiba-u.ac.jp/gridded/FD/support/count2tbb_v101.tgz tar zxvf count2tbb_v101.tgz cd count2tbb
gcc count2tbb20.c -o c2t20.x
./c2t20.x little-count.geoss tir.01
od -tf4 -An -w4 grid20.dat |sort
gmtset BASEMAP_TYPE PLAIN gmtset PAPER_MEDIA=a4+ gmtset COLOR_BACKGROUND black gmtset COLOR_FOREGROUND white gmtset COLOR_NAN black gmtset FRAME_PEN=1.25p,0/0/0 #Frame color gmtset GRID_PEN_PRIMARY=0.10p,90/90/90 #Grid color gmtset TICK_PEN=0.5p,0/0/0 # tick font color
makecpt -Cgray -T0/4096/410 -Z > count.cpt
c signed 1-byte character. u unsigned 1-byte character. h signed short 2-byte integer. H unsigned short 2-byte integer. i signed 4-byte integer. I unsigned 4-byte integer. l signed long (4- or 8-byte) integer. f 4-byte floating point single precision. d 8-byte floating point double precision.To swap byte-order in 2-byte words, append w in -Z option.
xyz2grd little-count.geoss -Glittle-count.gmt -I0.02/0.02 -R85/205/-60/60 -F -N4096 -ZTLH
grdimage little-count.gmt -JQ140/15 -Ccount.cpt -K -P -R85/205/-60/60 > ir1-count.eps
pscoast -Ba20g20/a15g15eWSn -J -R -Di -K -N1/2t7.5_7.5:0/0/255/0 -W1/0/255/0 -O >> ir1-count.eps
echo "140 62 18 0 0 CB Himawari-8 Band13 20150707 00:00UTC" |pstext -R -J -G0/0/0 -O -K -N >> ir1-count.eps
psscale -D7.5/-1/12/0.5h -Ccount.cpt -B512/:"[count]": -O >> ir1-count.eps
ps2raster ir1-count.eps -P -A -E300 -Qt -Qg -Tg && eog ir1-count.png
gmt set MAP_FRAME_TYPE plain gmt set COLOR_BACKGROUND black gmt set COLOR_FOREGROUND white gmt set COLOR_NAN gray gmt set PS_MEDIA a4 gmt set FONT_TITLE 13p gmt set MAP_TITLE_OFFSET -0.2c
gmt makecpt -Cgray -T0/4096/410 -Z > count.cpt
c signed 1-byte character. u unsigned 1-byte character. h signed short 2-byte integer. H unsigned short 2-byte integer. i signed 4-byte integer. I unsigned 4-byte integer. l signed long (4- or 8-byte) integer. f 4-byte floating point single precision. d 8-byte floating point double precision.
gmt xyz2grd little-count.geoss -Glittle-count.gmt -I0.02/0.02 -R85/205/-60/60 -r -di4096 -ZTLH
gmt grdimage little-count.gmt -JQ140/15 -Ccount.cpt -K -P -R85/205/-60/60 > ir1-count.eps
gmt pscoast -BWSne+t"Himawari-8 Band13 20150707 00:00UTC" -Bxa20g20 -Bya20g20 -J -R -Di -K -N1/0.25p,0/255/0,solid -W0.25p,0/255/0,solid -O >> ir1-count.eps
gmt psscale -D7.5/-1/12/0.5h -Ccount.cpt -B512/:"[count]": -O >> ir1-count.eps
gmt psconvert ir1-count.eps -P -A -E300 -Qt -Qg -Tg && eog ir1-count.png
DSET little-count.geoss UNDEF 4098 options YREV LITTLE_ENDIAN TITLE Himawari8 count vale XDEF 6000 LINEAR 84.99 0.02 YDEF 6000 LINEAR -60.01 0.02 ZDEF 1 linear 1 1 TDEF 1 LINEAR 00z7Jul2015 10mn VARS 1 count 0 -1,40,2 Himawari8 count value endvars
grads -l
open grads.ctl set grads off set gxout shaded set grid on 1 15 set xlint 20 set ylint 20 set rgb 30 25 25 25 set rgb 31 51 51 51 set rgb 32 76 76 76 set rgb 33 102 102 102 set rgb 34 127 127 127 set rgb 35 153 153 153 set rgb 36 178 178 178 set rgb 37 204 204 204 set rgb 38 230 230 230 set rgb 39 255 255 255 set clevs 410 820 1230 1640 2048 2460 2870 3280 3690 set ccols 30 31 32 33 34 35 36 37 38 39 set mpdset hires set map 3 1 d count set strsiz 0.8 1 draw title Himawari8 Band13 20150707 00:00UTC cbarn printim ir1-count-grads.png white x1600 y1200 !eog ir1-count-grads.png
yum install netcdf* GMT* gshhg-gmt-* -y
Install GMT4.x.xDownload the GMT4 source file from somewhere.
wget ftp://ftp.soest.hawaii.edu/gmt/gmt-4.5.18-src.tar.bz2
tar jxvf gmt-4.5.18-src.tar.bz2cd gmt-4.5.18 ./configure --prefix=/usr/local/GMT4; make ; make install install-data install-man install-doc ln -s /usr/share/gshhg-gmt-nc4 /usr/local/GMT4/share/coast ln -s /usr/local/GMT4 /usr/local/gmt export PATH=$PATH:/usr/local/gmt/bin
Install GMT6 on Ubuntu 20.04
sudo apt install gmt gmt-gshhg gmt-dcw
Install GMT4.x.xDownload the GMT4 source file from somewhere.
wget ftp://ftp.soest.hawaii.edu/gmt/gmt-4.5.18-src.tar.bz2
tar jxvf gmt-4.5.18-src.tar.bz2cd gmt-4.5.18 sudo apt install gcc make libnetcdf-dev -y ./configure --prefix=/usr/local/GMT4; make ; make install install-data install-man install-doc ln -s /usr/share/gmt-gshhg /usr/local/GMT4/share/coast ln -s /usr/local/GMT4 /usr/local/gmt export PATH=$PATH:/usr/local/gmt/bin
Install PyGMT on anaconda3 (Ubuntu 20.04)!pip install pygmt
GMT6 source installation
# load libraries and coastlines !sudo apt install -y gmt-gshhg gmt-dcw build-essential cmake libcurl4-gnutls-dev libnetcdf-dev gdal-bin libgdal-dev libfftw3-dev libpcre3-dev liblapack-dev libblas-dev libglib2.0-dev ghostscript graphicsmagick ffmpeg xdg-utils GMT_VERSION = "6.1.1" # download the code !wget "https://github.com/GenericMappingTools/gmt/releases/download/{GMT_VERSION}/gmt-{GMT_VERSION}-src.tar.gz" !tar xzvf gmt-{GMT_VERSION}-src.tar.gz # build and install %cd gmt-{GMT_VERSION} !cat ./cmake/ConfigUserTemplate.cmake > ./cmake/ConfigUser.cmake !mkdir build %cd build !sudo cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=RelWithDebInfo .. # jオプションで同時に実行できるジョブの数(並行処理の数)を指定 !sudo make -j2 !sudo make -j2 install # load the PyGMT !pip install pygmt