Page 1 of 1
question about data format for "convert WRF-ARW"
Posted: February 20th, 2023, 5:53 am
by SBRIOL
Hello, I am having a problem using "Convert WRF-ARW" script in Windows Hysplit local. The issue is that I have WRF data in NetCDF 5 format, but your program is unable to read it. I have tried the script with other weather data in NetCDF3 format, and your program was able to read it but was unable to perform the conversion due to variable naming issues. Will the "Convert WRF-ARW" script be updated to work with NetCDF 5 format soon? If not, do you know of any other solution for using these WRF data with windows Hysplit local?
Re: question about data format for "convert WRF-ARW"
Posted: February 24th, 2023, 11:22 am
by Fantine
The latest HYSPLIT distribution for Windows PC uses netCDF4.
You can compile arw2arl + netCDF5 => go to data2arl/arw2arl, modify the Makefile to point to the netCDF5 library and then recompile the arw2arl program.
Re: question about data format for "convert WRF-ARW"
Posted: February 28th, 2023, 12:08 pm
by SBRIOL
Hello,
Thank you for your response. I will try to make this modification.
Re: question about data format for "convert WRF-ARW"
Posted: July 23rd, 2024, 9:54 am
by SBRIOL
Hello,
I am facing a new problem. I made the modifications to use the correct NetCDF libraries, but I can't figure out how to compile my changes.
Is there a tool to do this in local Hysplit, or do I need to use an external compiler (like gfortran, for example)? If I need to use a compiler, can you explain how to do it? I have never used a Fortran compiler, and even less so to use it on local Hysplit.
I hope this helps! If you have any other requests, feel free to ask.
Re: question about data format for "convert WRF-ARW"
Posted: July 31st, 2024, 3:41 pm
by Fantine
Go to "[HYSPLIT directory]/data2arl/arw2arl" and then type "make". The executable will be regenerated in [HYSPLIT directory]/exec.
Make sure to put the right directory path to the corrected NetCDF library in Makefile.inc in your [HYSPLIT directory].