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

fatal:ContourPlotDraw: Workspace reallocation would exceed maximum size 100000000 #21

Open
jinlx opened this issue Sep 17, 2019 · 5 comments

Comments

@jinlx
Copy link

jinlx commented Sep 17, 2019

Hi there,

I met a common NCL error when using pyngl. But in this case, we can't fix this bug by removing the wsMaximumSize statement in ~/.hluresfile. Any suggestion on it?

Lixu

@KMFleischer
Copy link

Hi Lixu,

it seems to be that your wsMaximumSize is too small. You shouldn't remove the entry but increase the value, maybe to 10000000000.

-Karin

@jinlx
Copy link
Author

jinlx commented Oct 15, 2019

Yes. I wonder where I could change this value.

Thanks,
Lixu

@KMFleischer
Copy link

The file has to be in you home directory.

$HOME/.hluresfile

See also https://www.pyngl.ucar.edu/Resources/hluresfile.shtml

-Karin

@jinlx
Copy link
Author

jinlx commented Oct 15, 2019

Hi Karin,

There is no .hluresfile in my home directory. So I create one.

! Comments for this file are preceded by a "!".
! Remember quotations are not used in this file.

! Black background, white foreground (not recommended, but hey)

*wkForegroundColor  : (/1.,1.,1./)
*wkBackgroundColor  : (/0.,0.,0./)

! Fonts.  We personally like "helvetica" better.

*Font           : times-roman

! Make default X11 window larger (adjust as necessary)

*wkWidth      : 800
*wkHeight     : 800

! Have a favorite colormap that you use for everything? You can
! make it your default here (note the name is NOT in quotes):

*wkColorMap  : BlAqGrYeOrReVi200

! Increase the default (16mb) contour memory
! If you hgave gridded data > 500 x 500, you may need this

But, when I try to source it, it shows that


!: Command not found.
!: Command not found.
Badly placed ()'s.

Thanks,
Lixu

@rbrownrigg
Copy link

rbrownrigg commented Oct 16, 2019 via email

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

3 participants