-
Notifications
You must be signed in to change notification settings - Fork 13
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
obs data overlay doesn't match lat/lon values #47
Comments
I used google maps to find the lat/lon location for the intersection of Arizona, Colorado, Utah and New Mexico. The value from google maps was 36,999293, -109.045419. I created a txt file with that lat/lon value and loaded it into VERDI along with the new dataset for the West36 km grid. The observational dataset lines up with the state borders for Az, CO, Ut, NM, actually I noticed that the triangle symbol lines up with the state borders, but the circle symbol for the observational values are offset to the right. However, the Control> Show Lat/Lon value does not match, and is reported to be: 36.81004N, 109.04436W. This is similar to the above case, where the LAT value reported by VERDI is .1-.2 degrees lower than the value in the obs file. |
If you run the script in verdi titled verdi_script_4km_obs_test.launch it will load the datasets
CCTM_combine.2008031.dave.nc.1 and verdiObs.4km_from_xorig_yorig.txt.
Contents of the verdiObs.4km_from_xorig_yorig.txt file:
Timestamp(UTC) LONGITUDE(deg) LATITUDE(deg) STATION(-) ozone(ppm)
2006-07-03T00:00:00-0000 -121.029 32.2 111993 0.04
I also loaded an ioapi obs file with the same data.
To create this ioapi file with different lat/lon values use the following commands.
ncdump paveObs.nc > paveObs.nc.txt
change Lat/Lon values in paveObs.nc.txt using text editor
ncgen -o NEW_paveObs.nc paveObs.nc.txt
Here is the contents of the file:
tail paveObs4.txt
LAT =
32.2 ;
LON =
-121.029 ;
CO =
100 ;
}
With the lat/lon values the same for both observational datasets, the sun and the circle should be on top of one another - but they are not. In addition, the lat/lon value provided by VERDI using Controls>Show Lat/Lon and hovering over the points gives very different values:
Lat = 32.02217N, Lon =121.01291W
The text was updated successfully, but these errors were encountered: