GIS4WRF / gis4wrf

QGIS toolkit 🧰 for pre- and post-processing 🔨, visualizing 🔍, and running simulations 💻 in the Weather Research and Forecasting (WRF) model 🌀
https://gis4wrf.github.io
MIT License
159 stars 36 forks source link

When I download data from website in GFS files,it tells_Program real.exe failed with errors, check the logs. #209

Closed liaoyangsam closed 3 years ago

liaoyangsam commented 3 years ago

Dear All,

My problem is as below: Program real.exe failed with errors, check the logs. A clear and concise description of what the bug is.

File "/home/xxm/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/plugin/ui/thread.py", line 85, in run self.use_mpi, self.mpi_processes): Steps to reproduce the behavior:

  1. Go to 'Simulation'
  2. Click on 'Run.'
  3. Scroll down to 'Run Real'
  4. See error

Should be without error A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Ubuntu 18.04):

Check the python and no idea how to change the code. def run(self): try: for msg_type, msg_val in run_program(self.path, self.cwd, self.error_pattern, self.use_mpi, self.mpi_processes): if msg_type == 'pid': self.pid = msg_val elif msg_type == 'log': self.output.emit(msg_val) elif msg_type == 'error': self.error = msg_val else: raise RuntimeError('Invalid output received: {}'.format(msg_type)) except: self.exc_info = sys.exc_info() Screenshot from 2021-03-15 09-34-31 Add any other context about the problem here.

Thanks very much for your kindly help.

dmey commented 3 years ago

can you check/send me the logs please

liaoyangsam commented 3 years ago

can you check/send me the logs please

Python warning: traceback: File "/home/sam/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/plugin/ui/thread.py", line 85, in run self.use_mpi, self.mpi_processes): message logs: SUCCESS GIS4WRF : Successfully prepared WRF files in /media/XXam/3b8d8124-e21a-45f4-8198-747c31594f9b/gis4wrfiles/xxxang/3-14-2021/run_wrf

liaoyangsam commented 3 years ago

can you check/send me the logs please

Python warning: traceback: File "/home/sam/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/plugin/ui/thread.py", line 85, in run self.use_mpi, self.mpi_processes): message logs: SUCCESS GIS4WRF : Successfully prepared WRF files in /media/XXam/3b8d8124-e21a-45f4-8198-747c31594f9b/gis4wrfiles/xxxang/3-14-2021/run_wrf

dmey commented 3 years ago

I don't see any errors. Check the outputs from real.exe.

liaoyangsam commented 3 years ago

I don't see any errors. Check the outputs from real.exe.

Screenshot from 2021-03-17 08-25-15 I can not open real.exe in my ubuntu 1804. And when I run real ,it show real with error, check logs, but messgae logs like this. and open the run.wrf, rsl.error.000 like this : -------------- FATAL CALLED --------------- program wrf: error opening wrfinput_d01 for reading ierr= -1021

application called MPI_Abort(MPI_COMM_WORLD, 1) - process 1

I doubt the domain problem.which I set up from website is not decimal number.

Thanks Sam

dmey commented 3 years ago

Your error is to do with the surface pressure computation (psfc) and it looks more like a configuration issue. Can you please check that you can run the tutorial at https://gis4wrf.github.io/tutorials/gis4wrf/simulate-the-2018-european-heat-wave-with-gis4wrf. It this works then I would suggesting asking this in the WRF Forum at https://forum.mmm.ucar.edu/phpBB3/.

liaoyangsam commented 3 years ago

Now it appear like this after Run WRF. Backtrace for this error:

dmey commented 3 years ago

Good, the WRF forum should be able to help you with specific configuration issues. I am going to close this now but feel free to update it once you solve the config/data issue.