Error when trying to convert HRRR files using api2arl_v4 for trajectory/concentration simulations

General questions and postings pertaining to the use of HYSPLIT regardless of the platform. For platform specific questions, use the HYSPLIT Platform forums.
Post Reply
joaolucas
Posts: 10
Joined: May 17th, 2022, 2:30 pm
Registered HYSPLIT User: No

Error when trying to convert HRRR files using api2arl_v4 for trajectory/concentration simulations

Post by joaolucas »

Hi.

I'm trying to convert HRRR files to ARL using the executable api2arl_v4, but I got the error:

Existing decoding configuration:api2arl.cfg
266 Precip start and end Step: 0 0
267 Existing encoding configuration:arldata.cfg
268 NOTICE pakset:
269 Number of index records = 1
270 Number of records /time = 281
271 NOTICE pakini: start initialization rec = 1
272 NOTICE pakini: end initialization rec = 281
273 *ERROR* pakrec: Variable not in CFG file
274 Argument list variable: PRSS
275 At level: 1

The ARL files were created but, surely, when used as input for Hysplit they produce the error:

HYSPLIT - Initialization
HYSPLIT version: hysplit.v5.2.0
Last Changed Date: 2022-01-16
*ERROR*: metini - input meteorology requires either
Surface pressure: F
Terrain height : F
STOP 900

I thought the surface pressure is available in the HRRR dataset, so it does not seem to be the question.

Should I modify something in the cfg file ?

Below I sent the api2arl.cfg file content:

&SETUP
numatm = 12,
atmgrb = 'gh','pres','t','pt','u','v','w','z','r','qv','q','etad',
atmcat = 3 , 3 , 0 , 0 , 2 , 2 , 2 , 2 , 1 , 1 , 1, 2,
atmnum = 5 , 0 , 0 , 2 , 2 , 3 , 8 , 9 , 1 , 2 , 2, 8,
atmcnv = 1.0 ,0.01 , 1.0 , 1.0 , 1.0 , 1.0 , 0.01 , 1.0 , 1.0 , 1.0 , 1.0, 0.01
atmarl = 'HGTS','PRSS','TEMP','THET','UWND','VWND','WWND','DZDT','RELH','SPHU','SPHU','WWND',
numsfc = 21,
sfcgrb = 'orog','sp','tp','tcc','hpbl','uflx','vflx','dswr','shtf','lhtf','2t','r','10u','10v','ewss','nsss','z','sshf','ssr','ncpc','acpc',
sfccat = 3, 3, 1, 6, 19, 2, 17, 4, 0, 0, 0, 1, 2, 2, 2, 2, 3, 0, 4, 1, 1
sfcnum = 5, 0, 8, 1, 3, 17, 18, 0, 11, 10, 0, 1, 2, 3, 2, 3, 5, 11, 0, 9, 10
sfccnv = 1.0,0.01,.001,1.0, 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.1,1.0,1.0,.001,.001
sfcarl = 'SHGT','PRSS','TPPT','TCLD','PBLH','UMOF','VMOF','DSWF','SHTF','LHTF','T02M','RH2M','U10M','V10M','UMOF','VMOF','SHGT','SHTF','DSWF','TPPN','TPPC',
/

Thank you in advance.
sonny.zinn
Posts: 354
Joined: May 8th, 2019, 1:31 pm
Registered HYSPLIT User: Yes

Re: Error when trying to convert HRRR files using api2arl_v4 for trajectory/concentration simulations

Post by sonny.zinn »

There might be two issues. The first one is the name of the pressure variable in the upper atmosphere. In your api2arl.cfg, the second variable 'PRSS' appearing for atmarl is "pressure at surface." It should have been 'PRES'. The second issue might be what kind of HRRR GRIB2 files you converted. Use GRIB2 files whose name contains "wrfnat", e.g., hrrr.t01z.wrfnatf00.grib2.
joaolucas
Posts: 10
Joined: May 17th, 2022, 2:30 pm
Registered HYSPLIT User: No

Re: Error when trying to convert HRRR files using api2arl_v4 for trajectory/concentration simulations

Post by joaolucas »

Thank you for sharing these tips.
Post Reply

Return to “Users”