Issue Installing rgdal for WRF-Hydro Subsetting Script

6 views
Skip to first unread message

Fatemeh Shirkhanloo

unread,
Oct 23, 2025, 4:08:15 PM (7 days ago) Oct 23
to wrf-hydro_users

Hi everyone, 

I’m trying to run the wrf_hydro_subsetting script to create subdomains, but I get this error:

“there is no package called ‘rgdal’”

My R environment is already set up (R 4.4.3 with GDAL, PROJ, GEOS, and other packages like rwrfhydro, sf, and terra).

However, it seems that the subsetting script still depends on the old rgdal package, which is no longer available in new R versions.

Any suggestions and help are appreciated.

Best Regards,

Fatemeh

Arezoo RafieeiNasab

unread,
Oct 23, 2025, 4:12:57 PM (7 days ago) Oct 23
to wrf-hyd...@ucar.edu
Hi Fatemeh, 

Unfortunately, the subsetting scripts are only tested and run with R4.3 and earlier versions. I know that a few of the libraries are no longer supported with the latest R versions. The easiest solution would be to do an earlier version of R, if you could. I use 4.3. 

Thanks!
Arezoo

--
You received this message because you are subscribed to the Google Groups "wrf-hydro_users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wrf-hydro_use...@ucar.edu.
To view this discussion visit https://groups.google.com/a/ucar.edu/d/msgid/wrf-hydro_users/96b285e8-b9ba-44ff-b972-5412abc5df24n%40ucar.edu.


--
-------------------------------------------------------------------------------------------------
My working day may not be your working day. Please do not feel obliged to reply to this email outside of your normal working hours.
-------------------------------------------------------------------------------------------------
Arezoo Rafieei Nasab, Ph.D.
Project Scientist II
NCAR Research Applications Laboratory

Fatemeh Shirkhanloo

unread,
Oct 23, 2025, 4:43:29 PM (7 days ago) Oct 23
to wrf-hyd...@ucar.edu
Dear Arezoo, 

Thank you so much for your help.

Best regards,
Fatemeh

Reply all
Reply to author
Forward
0 new messages