Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error running postwrf (on Mac laptop) #41

Open
fipoucat opened this issue Feb 25, 2024 · 5 comments
Open

error running postwrf (on Mac laptop) #41

fipoucat opened this issue Feb 25, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@fipoucat
Copy link

I am doing a shaded plot from wrf output but after ncl is processing, it stops with an error message:
./modules/contourlvl.sh line 149 216700 killed

@anikfal
Copy link
Owner

anikfal commented Feb 26, 2024

Please send your namelist.wrf, as well as all messages displayed on the screen.

@fipoucat
Copy link
Author

I suspect a memory issue, but below the screen output:

./postwrf.sh

================= PostWRF (Version 1.1) =====================
Run './postwrf.sh -h' to get help
In case of problems, please contact [email protected]


   CONTOUR PLOT                CONTOUR PLOT

There are multiple wrf-files in the current directory:

  1. wrfout_d02_2022-06-02_150000
  2. wrfout_d03_2022-05-30_130000
  3. wrfout_d03_2022-06-02_130000
  4. wrfout_d03_2022-06-03_080000

Enter the number of the favored file: 1

wrfout_d02_2022-06-02_150000 has been selected

rev: stdin: 0: Invalid or incomplete multibyte or wide character
Plotting contour maps ...

Specify Time_Step(s) Between The Images (Default=1):
Time_Step Has Been Set To 1

Specify The Method Of Drawing Contours (1 or 2) for rh:

  1. Automatic
  2. Manual
    #? 2

Contour Lines Min Value (press Enter for the best value):
Got no input. Best Min value will be set automatically.

Contour Lines Max Value (press Enter for the best value):
Got no input. Best Max value will be set automatically.

Select a color pattern from the list below (a number from 1 to 10) for rh::

  1. Rainbow-start_from_blue 6) Red
  2. Rainbow-start_from_red 7) Green
  3. Rainbow-start_from_white 8) White..Yellow..Orange..Red
  4. Blue..Red 9) White..Black
  5. Blue 10) Black..White
    #? 2

Format Of The Images: 1, 2, 3, or 4?

  1. x11
  2. pdf
  3. png
  4. animated_gif
    #? 2

Name of the Output File? (Press Enter for the default name): testrh
Please wait. NCL is processing ...

./modules/contourlvl.sh: line 149: 246634 Killed ncl -nQ contourlvl.ncl
namelist.wrf.gz

@anikfal
Copy link
Owner

anikfal commented Feb 27, 2024

Can you send the WRF file you tried to plot? I think your output may have some issue, or it may be related to hardware/memory.
If the WRF file size is too big, you can send output.txt below:
ncdump -h wrfout_d02_2022-06-02_15\:00\:00 > output.txt

@fipoucat
Copy link
Author

I too think it is related to memory. I sent the problem I had on my Mac with PostWRF not working, I then installed a virtual Linux and installed PostWRF which is working.
After the error with d02 (too large and outnc.txt attached), I can run the same namelist.wrf with domains 1 and 3 and it is working.
The Mac laptop is a powerful machine but the virtual Linux is using limited memory.

@anikfal
Copy link
Owner

anikfal commented Feb 27, 2024

So you're using a Mac laptop. There was another issue mentioning this problem. I must directly try PostWRF on a Mac laptop to figure it out.

Edit: You can also try a WRF file with a size less that 2GB to see if the same problem happens. There are some limitations for the size of NetCDF data on some machines/configurations.

@anikfal anikfal added the bug Something isn't working label Feb 27, 2024
@anikfal anikfal changed the title error running postwrf error running postwrf (on Mac laptop) Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants