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

Issue opening .nc output

Ihmacias99

New member
Whenever I finish running the model as 'mpirun -np 14 ./wrf.exe' I get a file that does not have '.nc' extension at the end of it, for example: 'wrfout_d01_2025-04-22_06:00:00' (it doesnt have .nc at the end), and when trying to open it in python (with xarray and netcdf) or in another program, it presents an error. being:

OSError: [Errno -101] NetCDF: HDF error: 'location/file'

Back when I implemented a resolution of 50000, it worked just fine, but now it succesfully runs but the file won't open.

If someone could help plus give me feedback about my inputs I would really appreciate it.

Thanks to everyone :)
 

Attachments

  • namelist.wps
    1.4 KB · Views: 1
  • namelist.input
    3.5 KB · Views: 2
First of all, please confirm that WRF is done successfully. If so, then please use ncview to look at wrfout files and make sure all is fine.

If you rename wrfout as wrfput.nc, can you run your python script successfully?
 
Top