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

possible command line problem #9

Closed
CathySmithNOAA opened this issue Nov 5, 2018 · 1 comment
Closed

possible command line problem #9

CathySmithNOAA opened this issue Nov 5, 2018 · 1 comment

Comments

@CathySmithNOAA
Copy link

NCLers

This problem might be at our end but I was hopeful somene might have some insight on how to debug and it's short (and multiple people have tried to figure it out).

Running this on our linux server (version 6.5.0 x86_64 GNU/Linux)

ncl 'ylabel="Standardized Anomalies"' < reallyshort.ncl

where reallyshort.ncl is

begin
wks = gsn_open_wks ("png","teset")
res = True ; plot mods desired
res@tiYAxisString = ylabel ; add an axis title
end

fails when it used to work with error

fatal: can't find file "Anomalies""

Testing shows NCL didn't like the space. If it's there, it tries to open up the word after the space as a file. An underline instead of a space does works I tried reversing the quote types, backslahing the space, and different shells, and a different variable name.

It does work on a MAC same version of NCL.

Any ideas of where to look to fix? It may not be NCL that is the problem. Other NCL scripts are working.
Cathy

@marylhaley marylhaley assigned khallock and unassigned khallock Nov 6, 2018
@CathySmithNOAA
Copy link
Author

Problem was system wrapper script for NCL that didn't quote arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants