Skip to content

Instantly share code, notes, and snippets.

@tenomoto
Created November 9, 2018 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tenomoto/dec4d306ea4cf22e5763ca3be68c084f to your computer and use it in GitHub Desktop.
Save tenomoto/dec4d306ea4cf22e5763ca3be68c084f to your computer and use it in GitHub Desktop.
Convert JMA Radar-AMeDAS in GRIB2 to netcdf
#!/bin/sh
yyyymmdd=20180701
hhmm=0000
fname=Z__C_RJTD_${yyyymmdd}${hhmm}00_RDR_JMAGPV__grib2
tar xf ${fname}.tar
wgrib2 ${fname%__grib2}_Ggis1km_Prr10lv_ANAL_grib2.bin -netcdf ${hhmm}.nc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment