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)
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)