Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Longitude data

TCNasa

Tom Caldwell
Member
I am using CAM. However, my longitude parameter (Lon) in my output history file is set from 1-360. This is inconsistent with my latitude parameter (lat) which is -90 to 90. How can I change my output longitude to to -180 to 180 for correct plotting?
 

strandwg

Moderator
Staff member
I am using CAM. However, my longitude parameter (Lon) in my output history file is set from 1-360. This is inconsistent with my latitude parameter (lat) which is -90 to 90. How can I change my output longitude to to -180 to 180 for correct plotting?

What plotting software are you using?
 

TCNasa

Tom Caldwell
Member
I am using Panoply. When I plot the "lon" field of my cam history file, it shows 1..360, but the "lat" field shows -90..90. This causes my plot to shift longitudinally.
 

strandwg

Moderator
Staff member
I am using Panoply. When I plot the "lon" field of my cam history file, it shows 1..360, but the "lat" field shows -90..90. This causes my plot to shift longitudinally.

I'm not familiar with Panoply, but longitude are cyclic, so it should be able to plot your data with any longitude range.
 

TCNasa

Tom Caldwell
Member
It plots the data fine. Problem is that data which should be at 90 degrees east (+90) shows up at 90 degrees west (-90) because the data is listed at 270 degrees instead of -90.
 

TCNasa

Tom Caldwell
Member
It should look like the left but it looks like the right
 

Attachments

  • Screen Shot 2022-05-26 at 4.42.42 PM.png
    Screen Shot 2022-05-26 at 4.42.42 PM.png
    154.2 KB · Views: 7
  • Target_AOD_in_tom-may26-4.cam.h1.2010-01-02-00000.png
    Target_AOD_in_tom-may26-4.cam.h1.2010-01-02-00000.png
    109 KB · Views: 7

TCNasa

Tom Caldwell
Member
Panoply is not the problem. The contents of the "lon" array in the CAM history file need to be -180 to 180 instead of 0 to 360. I don't know how to specify this.
 
Top