Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

How to run WRF_VPRM in WRF4.3?

Sorry, I didn't encountered a similar issue before. But I think this problem may not come from MODIS data. Generally, MODIS data can be used directly in pyVPRM. By comparing with my running log, this code should occur after all MODIS tile data in a chunk has been read and processed, and tile merging is in progress. So I thought maybe we could try these methods to solve this problem:
1. Check super computer's memory.
2. Clean files in /wrf_preprocessor/out after a failed run.
3. Check rasterio and rioxarray installed with conda, and I think the most likely cause is a version conflict in the environment package.
4. Install pyVPRM in python 3.12 is recommended.
These are based on my previous experience in building pyPVRM. I hope it can help you.
Thank you so much, the issue have been solved accroding to your advice.
 
This seems to be a problem with rasterio not recognizing hdf files. My first guess is that you need to install h5netcdf into your Python / Conda environment first. Second, if your modis files have the NetCDF extension ".nc", do the fix as above.
I met the same problem in the format of the file, and I also tried the method u provide.
And I found that the rasterio could not deal with HDF4 files and I do not find where could I download the nc format files of MOD09A1.
Do you have any ideas about this? thanks
 
Thank you so much, the issue have been solved accroding to your advice.
Dear zzzyy:

I also encountered the same problem but I am glad you managed to solve it. Could you please let me know about this? Like how did you solve it? What measures did you take to solve the problem?
I am currently working with Python 3.12.0 version and rasterio and rioxarray etc all installed.
Actually, When I tried to run pyVPRM first time, it worked good and generated output files. But when I tried the second time then I found this CRS error (As same as you encountered).

Could you please help me with this? Thank you. Awaiting your response.

Best wishes
 
Dear zzzyy:

I also encountered the same problem but I am glad you managed to solve it. Could you please let me know about this? Like how did you solve it? What measures did you take to solve the problem?
I am currently working with Python 3.12.0 version and rasterio and rioxarray etc all installed.
Actually, When I tried to run pyVPRM first time, it worked good and generated output files. But when I tried the second time then I found this CRS error (As same as you encountered).

Could you please help me with this? Thank you. Awaiting your response.

Best wishes
It is recommended that you check the following two aspects:
(1) Whether the input land use data contains coordinate information. If the input data does not include coordinate information, you need to assign appropriate coordinates to it.
(2) The interface compatibility between rioxarray and rasterio. If this is the cause, you may need to reinstall compatible dependency packages.
I hope this information is helpful to you.
 
Top