Re: Error message concerning latitude and longitude

From: Stephan Herrmann <stephan.w.herrmann_at_nyahnyahspammersnyahnyah>
Date: Sat Dec 14 2013 - 09:04:36 MST

Hello David,

 

thank you very much for your help. The PNG file of the graphics looks great. I also think the plot looks correct. When I run your NCL script test.ncl I get the following error message:

 

(0)     min=-83.0979   max=-51.1712
lines 1-1/1 (END)

 

How can I fix this problem?

 

 

Best regards

 

Stephan

 

 

 

-----Original-Nachricht-----

Betreff: Re: [ncl-talk] Error message concerning latitude and longitude

Datum: Sat, 14 Dec 2013 02:00:12 +0100

Von: David Brown <dbrown@ucar.edu>

An: Stephan Herrmann <stephan.w.herrmann@t-online.de>

 

 

Hi Stephan,

I would like to add to the earlier suggestions from our team. The coordinates in the file are 1d rotated coordinates generated by CDO (I think). They are relative to the rotated coordinate system. For plotting purposes NCL needs to know the coordinates in the standard unrotated system, but currently there is no public interface for converting the coordinates. Also there are different conventions for specifying the rotated coordinates. I am attaching a little C source code that performs the operation based on the conventions employed by CDO. It generates an ascii output file containing the lat and lon of each grid point in the unrotated system. I am also attaching the ascii output, an NCL script that uses it to create the 2D coordinate arrays that locate your data, as well as a PNG file of the graphics. I think the plot looks correct, but let us know if it is not. Hopefully we can build this functionality into NCL in the near future.

-dave

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sat Dec 14 09:05:18 2013

This archive was generated by hypermail 2.1.8 : Wed Dec 18 2013 - 14:29:51 MST