Re: how to scale array

From: Chao Luo <chao.luo_at_nyahnyahspammersnyahnyah>
Date: Fri Nov 11 2011 - 10:03:56 MST

Hi,

I found the problem is about wsMaximumSize. The error gone when I set "wsMaximumSize": 33554432. Sorry for my vague question!

Chao

----- Original Message -----
From: "Mary Haley" <haley@ucar.edu>
To: "Chao Luo" <chao.luo@eas.gatech.edu>
Cc: ncl-talk@ucar.edu
Sent: Friday, November 11, 2011 8:00:34 AM
Subject: Re: how to scale array

Chao,

There's not enough information to go on here. Can you send me the full script and the full error message?

Also, it would help if you print out the min and max of your data before you convert it, and again after you convert it and send me the output:

For example, if your variable is "x":

  printVarSummary(x)
  print("min/max x before scale = " + min(x) + "/" + max(x))

  x = const * x

  print("min/max x after scale = " + min(x) + "/" + max(x))

--Mary

On Nov 10, 2011, at 6:39 PM, Chao Luo wrote:

> Hi,
>
> I am trying to plot array (two dimensional monthly mean rain) by NCL. The array has Fill value. This is no prblem when I plot this array, but got error (fatal:ContourPlotDraw: draw error) when I plot scaled array ( array = array * const). I think this error is related to Fill vale (1.e+20). Any suggestions are very appreciated!
>
> Thanks,
>
> Chao
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Nov 11 10:03:58 2011

This archive was generated by hypermail 2.1.8 : Mon Nov 14 2011 - 10:41:55 MST