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

postWRF error error on mac #37

Open
fipoucat opened this issue Feb 8, 2024 · 10 comments
Open

postWRF error error on mac #37

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

Comments

@fipoucat
Copy link

fipoucat commented Feb 8, 2024

I am trying postWRF on mac with ncl 6.6.2 but keep getting error:

================= PostWRF (Version 1.1) =====================
Run './postwrf.sh -h' to get help
In case of problems, please contact ah.nikfal@gmail.com


   CONTOUR PLOT                CONTOUR PLOT

ln: /Users/sarr/PostWRF-master/postwrf_wrfout_d01_2022-05-30_00:00:00: Cross-device link

wrfout_d01_2022-05-30_00:00:00 has been selected in the current directory.

Plotting contour maps ...

ls: /Users/sarr/PostWRF-master/postwrf_wrfout*: No such file or directory
usage: basename string [suffix]
basename [-a] [-s suffix] string [...]

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
    #? 1

Contour Lines 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
    #? 1

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

  1. x11
  2. pdf
  3. png
  4. animated_gif
    #? 1
    ls: postwrf_wrfout*: No such file or directory
    warning:_NclOpenFile: cannot open file </Users/sarr/PostWRF-master/missing>; No such file or directory

fatal:Subscript out of range, error in subscript #0
fatal:An error occurred reading fileatts
fatal:["Execute.c":8637]:Execute: Error occurred at or near line 15 in file read_wrfouts.ncl

@anikfal
Copy link
Owner

anikfal commented Feb 8, 2024

First of all, please git pull or clone PostWRF to its newest version.

What is the output of echo $0 in your system? Is it bash? If not, please change your shell to bash and try again (you must not need this if you update PostWRF to the newest version).

Actually PostWRF has never been tested in Mac. However, since Mac uses almost the same shell as in Linux, there must not be such problems.

@fipoucat
Copy link
Author

fipoucat commented Feb 9, 2024

The output of echo $0 is indeed bash, I also used the clone version on Git Hub, but I am getting the same problem.
Maybe the package not working on Mac?

@anikfal
Copy link
Owner

anikfal commented Feb 9, 2024

Technically PostWRF can be run on any systems based on Bash or supporting Bash.

I cannot give a helpful comment at the moment unless I work with it on a Mac system. Maybe there are some differences between the Bash scripts on Mac and Linux.

@anikfal
Copy link
Owner

anikfal commented Feb 9, 2024

By the way, please send me your namelist.wrf

@fipoucat
Copy link
Author

fipoucat commented Feb 10, 2024 via email

@anikfal
Copy link
Owner

anikfal commented Feb 10, 2024

Are you sure you sent me the namelist? I don't think so.

@fipoucat
Copy link
Author

fipoucat commented Feb 11, 2024 via email

@anikfal
Copy link
Owner

anikfal commented Feb 12, 2024

There isn't any attachment.
You can send the namelist directly by GitHub.

@fipoucat
Copy link
Author

namelist.wrf.gz

@anikfal
Copy link
Owner

anikfal commented Feb 12, 2024

Your namelist works fine on Linux.
I cannot comment about the problem, unless I directly investigate the issue on Mac.

@anikfal anikfal added the bug Something isn't working label Feb 12, 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