api2arl.cfg
api2arl.cfg
Dear all,
I'm using api2arl conversion tool (successfully) but I would like to use the following combination of keys to access Grib2 data: discipline, parameterCategory and parameterNumber instead of shortName in api2arl.cfg.
Is it possible? How?
Thank you,
Sylvain
I'm using api2arl conversion tool (successfully) but I would like to use the following combination of keys to access Grib2 data: discipline, parameterCategory and parameterNumber instead of shortName in api2arl.cfg.
Is it possible? How?
Thank you,
Sylvain
-
- Posts: 660
- Joined: November 7th, 2012, 3:14 pm
- Registered HYSPLIT User: Yes
Re: api2arl.cfg
Yes, it is possible to use the parameterCategory and parameterNumber to extract the variable you are interested in. You will have to edit your api2arl.cfg file by replacing the values for the parameters atmcat (sfccat) and atmnum (sfcnum) which respectively correspond to the parameterCategory and parameterNumber of the variable of interest for the 3 dimensional field (2 dimensional field).
Re: api2arl.cfg
Dear Ariel Stein,
Many thanks for your reply but I don't manage to use these arguments:
-I replaced the line "sfcgrb = ...." by 2 lines "sfccat = ...." and "sfcnum = ...."
-it returns "At line 192 of file api2arl.f (unit = 10, file = '/path/myFile.cfg') Fortran runtime error: Cannot match namelist object name sfccat"
Any clues?
Best,
Sylvain
Many thanks for your reply but I don't manage to use these arguments:
-I replaced the line "sfcgrb = ...." by 2 lines "sfccat = ...." and "sfcnum = ...."
-it returns "At line 192 of file api2arl.f (unit = 10, file = '/path/myFile.cfg') Fortran runtime error: Cannot match namelist object name sfccat"
Any clues?
Best,
Sylvain
-
- Posts: 660
- Joined: November 7th, 2012, 3:14 pm
- Registered HYSPLIT User: Yes
Re: api2arl.cfg
Can you please send the configuration file you are using?
Re: api2arl.cfg
Hello,
I also try without quotes (sfccat = 1) but it doesn't work either.
api2arl.f file I used was last revised the 22nd of February 2010
FYI: for testing, I removed the other surface variables I am interested in.
Best,
Sylvain
Code: Select all
&SETUP
numatm = 6,
atmgrb = 'gh' ,'t' ,'u' ,'v' ,'w' ,'r',
atmcnv = 1.0 , 1.0 , 1.0 , 1.0 , 0.01 , 1.0 ,
atmarl = 'HGTS','TEMP','UWND','VWND','WWND','RELH',
numsfc = 1,
sfccat = '1',
sfcnum = '8',
sfccnv = 0.001,
sfcarl = 'TPP6',
/
api2arl.f file I used was last revised the 22nd of February 2010
FYI: for testing, I removed the other surface variables I am interested in.
Best,
Sylvain
-
- Posts: 660
- Joined: November 7th, 2012, 3:14 pm
- Registered HYSPLIT User: Yes
Re: api2arl.cfg
You are working with an older version of the code.
Please find attached the updated code. Let me know if it works.
Please find attached the updated code. Let me know if it works.
- Attachments
-
- api2arl.zip
- (46.45 KiB) Downloaded 303 times
-
- Posts: 660
- Joined: November 7th, 2012, 3:14 pm
- Registered HYSPLIT User: Yes
Re: api2arl.cfg
You can also download the files from http://ready.arl.noaa.gov/HYSPLIT_data2arl.php, clicking on the "metprog.zip - source code for many of our decoders" link.
Re: api2arl.cfg
Many thanks for your reply! It should work now
Best,
Sylvain
Best,
Sylvain
-
- Posts: 1
- Joined: February 10th, 2014, 3:10 am
- Registered HYSPLIT User: No
Re: api2arl.cfg
waw... Excellent resource of information here, lots of interesting and informative posts. Thank you so much!