janjunjon / master-core

0 stars 0 forks source link

add function for hatch with drawing RA #81

Closed janjunjon closed 1 year ago

janjunjon commented 2 years ago

ra

janjunjon commented 1 year ago

Task

janjunjon commented 1 year ago

grads以外で作成したnetCDFファイルを読み込むためのctlファイル

UNPACK scale_factor add_offsetを追記することで、値が正常に表示される

ref

example

DSET ../convertedMSMp/20200701.nc
DTYPE netcdf
TITLE MSM surface
UNPACK scale_factor add_offset
OPTIONS yrev
UNDEF 9.96921e+36
XDEF 241 LINEAR 120 0.125
YDEF 253 LINEAR 22.4 0.1
ZDEF 1 LINEAR 0 1
TDEF 8 LINEAR 01Z01JUL2020 3hr
VARS 12
    psea=>psea  0  t,y,x  sea level pressure
    sp=>sp  0  t,y,x  surface air pressure
    u=>u  0  t,y,x  eastward component of wind
    v=>v  0  t,y,x  northward component of wind
    temp=>temp  0  t,y,x  temperature
    rh=>rh  0  t,y,x  relative humidity
    r1h=>r1h  0  t,y,x  rainfall in 1 hour
    ncld_upper=>ncld_upper  0  t,y,x  upper-level cloudiness
    ncld_mid=>ncld_mid  0  t,y,x  mid-level cloudiness
    ncld_low=>ncld_low  0  t,y,x  low-level cloudiness
    ncld=>ncld  0  t,y,x  cloud amount
    dswrf=>dswrf  0  t,y,x  Downward Short-Wave Radiation Flux
ENDVARS
janjunjon commented 1 year ago

rains.ctl (rain_Ra) 作成手順

janjunjon commented 1 year ago

fdrive/ra/DEBUG

components

flow

  1. gcc short2f4ra1km.c -o short2f4ra1km
  2. short2f4ra1km 202007010100.bin ra202007010100.bin
  3. grads -blc exec DEBUG.ge
janjunjon commented 1 year ago

chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://www.jma.go.jp/jma/kishou/books/nwptext/51/appendix_D.pdf