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

WPS 4.6 geogrid problem

carinavb

Member
I did a new installation of WPS/WRF 4.6 and I'm trying to test it but I have an error in geogrid. ERROR: Error in ext_pkg_open_for_write_begin.
Attach geogrid.log and namelist.wps.
I check permission, but I don't know what else... Hope you can help.
Best Regards
 

Attachments

  • geogrid.log
    22.1 KB · Views: 4
  • namelist.wps
    685 bytes · Views: 4
this shouldn't be the issue but try this

Code:
geog_data_path = '/home/usuario/Build_WRF/WPS_GEOG/'

to

Code:
geog_data_path = '/home/usuario/Build_WRF/WPS_GEOG',


Could also mean that the specific geography files that it needs based on your namelist.wps selections are not present. Did you download all the geography files available or just the high-res required?
 
Hello William thanks for your answer, this "geog_data_path = '/home/usuario/Build_WRF/WPS_GEOG'" (I tested just in case), wasn't the problem.
I download only high-res, what else I should download?
Best regards.
 
Last edited:
I did a new installation of WPS/WRF 4.6 and I'm trying to test it but I have an error in geogrid. ERROR: Error in ext_pkg_open_for_write_begin.
Attach geogrid.log and namelist.wps.
I check permission, but I don't know what else... Hope you can help.
Hi,
As you mentioned, this error typically implies that you don't have the right permissions to write to the WPS directory, or that you have something wrong in your path to the geographic static files. It should not have anything to do with the size of the domain (which wouldn't give an error in the WPS process) or not having the correct static files (this would produce a different error). If you're absolutely positive you have write permissions in the WPS directory (you could test by creating a random .txt file), then go to the WPS_GEOG directory where your static files are kept and issue
Code:
pwd >& pwd.txt
and attach that pwd. txt file. Thanks!
 
Hi,
Code:
usuario@wrf:~/Build_WRF/WPS_GEOG$ pwd >& pwd.txt
I attach the file.

The permissions for WPS folder
drwxr-xr-x 10 usuario usuario 4,0K oct 28 15:40 WPS
usuario@wrf:~/WPS$ ls -lth | grep geog
-rw-r--r-- 1 usuario usuario 18K oct 28 15:40 geogrid.log
drwxr-xr-x 4 usuario usuario 4,0K oct 24 12:31 geogrid
lrwxrwxrwx 1 usuario usuario 23 oct 24 12:31 geogrid.exe -> geogrid/src/geogrid.exe

Thanks
 

Attachments

  • pwd.txt
    33 bytes · Views: 4
Last edited:
Thanks so much for doing that. It seems that a few others have run into this problem before, and a solution that worked for some, though annoying, is to rebuild WRF and WPS for serial computation. I assume you compiled WRF for distributed memory computation (dmpar), or something besides serial? When WPS builds the geogrid and metgrid programs, it links to the I/O from the WRF build for those two executables. For whatever reason, this can sometimes cause issues. If you don't want to mess with your currently compiled version of WRF, just leave it as is, and then you can create a new directory, in which you can compile WRF and WPS serially. Then try running geogrid again to see if that works. It may not, but it's worth a try. Let me know the outcome. Thanks!
 
Gracias por tu ayuda, el problema parece ser el netcdf, tuve que reinstalar todo nuevamente asegurándome de que netcdfc y netcdffortran estén instalados correctamente, ahora funciona. Muchas gracias

Translation
Thanks for your help, the problem seems to be the netcdf, I had to reinstall everything again making sure netcdfc and netcdffortran are installed correctly, it works now. Thank you so much
 
Top