Skip to content

Instantly share code, notes, and snippets.

@blaylockbk
Created November 10, 2016 15:30
Show Gist options
  • Save blaylockbk/6d5cd021dc9241024a1474093334e1db to your computer and use it in GitHub Desktop.
Save blaylockbk/6d5cd021dc9241024a1474093334e1db to your computer and use it in GitHub Desktop.
untar select HRRR files from the compressed MesoWest archive
# To untar just about everything
tar -xzvf models.tar.gz 20160101/models/hrrr/
# To untar just the HRRR pressure fields for analysis hours
tar -zxvf models.tar.gz --wildcards --no-anchored 'hrrr.t*z.wrfprsf00.grib2'
$ to untar just the HRRR surface fields for analysis hours
tar -zxvf models.tar.gz --wildcards --no-anchored 'hrrr.t*z.wrfsfcf00.grib2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment