Re: Calculate differences between two data sets

From: Jiang, Lifen <lfjiang_at_nyahnyahspammersnyahnyah>
Date: Wed Oct 09 2013 - 21:13:38 MDT

Dear Dave,

Thank you for checking my data! Yes, it did the calculations. However, lat and lon were lost. I tried Dennis suggestion with "dble2flt" but still no lat and lon.

And, max=1e+20 is not realistic for my data. Max value should be less than 20.

In addition, I didn't find where you have modified to remove the characters but it did work. Could you please give me any clues? This is for potential use in future.

Thanks again,

Lifen

________________________________
From: David Brown [dbrown@ucar.edu]
Sent: Wednesday, October 09, 2013 6:28 PM
To: Jiang, Lifen
Cc: ncl-talk@ucar.edu USERS
Subject: Re: Calculate differences between two data sets

Hi Lifen,
You have non-standard characters in your source file. Character value 241 occurs about 10 times in the file. NCL can only handle standard 7-bit ascii characters. The first occurrence of these
characters is just before the first printVarSummary call. Since NCL does not understand these characters and they are not part of the regular syntax, it just exits. I am not sure whether we can
modify NCL to generate a warning in this case. But the fix is just to eliminate them. I am attaching a revised version of your script with these characters removed. It seems to work fine.
 -dave

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Oct 9 21:13:50 2013

This archive was generated by hypermail 2.1.8 : Tue Oct 22 2013 - 10:35:27 MDT