Page 8 of 8

Re: extract data from wrf-ems for weather forecast

Posted: Wed Sep 06, 2017 4:22 pm
by meteosciez
If it is confirmed that your grib files contain the same parameter name (with various x and y values in each grib file)

Code: Select all

REFC:entire atmosphere:x-y hour max fcst:
you may try to use a regular expression to filter this parameter.
For instance :

Code: Select all

my @tab_extract		= ('(:REFC:entire\satmosphere:[0-9]+?-[0-9]+?\shour\smax)',
						 '(:PRMSL:mean sea level:)',
						'(:TMP:500 mb:)',
						'(:RH:500 mb:)',
						'(:TMP:700 mb:)',
						'(:RH:700 mb:)',
						'(:TMP:850 mb:)',
						'(:RH:850 mb:)',
						'(:TMP:2 m above ground:)',
						...
						...
						...