MeteoInfoLab script - convert ARL or concentration data to netCDF

Post Reply
yaqiang
Posts: 59
Joined: October 5th, 2015, 10:20 pm
Registered HYSPLIT User: Yes

MeteoInfoLab script - convert ARL or concentration data to netCDF

Post by yaqiang »

The 'convert2nc' function can be used to convert many data formats to netCDF, including ARL and HYSPLIT concentration data. MeteoInfo 1.4.3R3 or better version is needed.

For ARL data:

Code: Select all

infn = 'D:/Temp/arl/gdas1.jul09.w5'    #Input ARL file
outfn = 'D:/Temp/arl/gdas1.jul09.w5.nc'    #Output netCDF file
convert2nc(infn, outfn, writedimvar=True)
For HYSPLIT concentration data:

Code: Select all

infn = 'D:/Temp/HYSPLIT/cdump'    #Input HYSPLIT concentration file
outfn = 'D:/Temp/HYSPLIT/cdump.nc'    #Output netCDF file
inf = addfile_hyconc(infn)
convert2nc(inf, outfn, writedimvar=True)
gtyree
Posts: 6
Joined: February 7th, 2021, 11:55 am
Registered HYSPLIT User: No

Re: MeteoInfoLab script - convert ARL or concentration data to netCDF

Post by gtyree »

Hi there, is there a way to convert .nc files (such as those downloaded from NARR) to the ARL format? Could I modify this code to do that?
yaqiang
Posts: 59
Joined: October 5th, 2015, 10:20 pm
Registered HYSPLIT User: Yes

Re: MeteoInfoLab script - convert ARL or concentration data to netCDF

Post by yaqiang »

Post Reply

Return to “MeteoInfo Software”