Comments (8)
These codes always seem to have issues with high latitude. Thanks for catching this.
from act.
@kenkehoe Where are you getting the lat/lon from, the NAV system?
from act.
Hmm, looking into the code a bit I think we are not pulling in the NAV data. The lat/lon are coming from the normal data and at MOS that is set to -9999. In ARM files the missing_value indicator is not being set but there are valid_min/valid_max limits. Let me see what I can do and get back to you. We may need to catch this error in data to say don't plot daylight background.
from act.
I'm having trouble reproducing. I pulled in nav data and it seems to plot all night fine.
from act.
Sounds good @kenkehoe . I'm debating if we want to through an error or just not plot the background when there's no valid lat/lon. Thoughts?
from act.
Something like this perhaps?
if not (-90 <= lat <= 90) or not (-180 <= lon <= 180): raise ValueError(("Lat or Lon are invalid"))
from act.
Yeah I think something like that to catch the errors of bad values is all we need. Will need to also check if np.isfinite(lat) == True for cases where there is a missing_value attribute and Xarray converts the value to NaN.
I just added the correct values to the Dataset from NAV and it plotted correctly.
from act.
Added that in along with the finite check to #197
from act.
Related Issues (20)
- Consistent IO Names for V2.0.0
- Reorganize the Unit Tests HOT 4
- Change default behavior of datafilter
- Update ARM DQR webservice HOT 3
- setup.cfg excluding armfiles.py HOT 4
- ACT HomeyerRainbow cmap not found HOT 6
- Error while using add_dqr_to_qc: flag_values and flag_masks not set as expected HOT 9
- Make version 2.0 release prominent on landing page HOT 1
- arm_site_location_search - varying output HOT 5
- Streaking with missing data in 2D plots HOT 1
- Secondary Y-Display breaks convention with Matplotlib
- Verify that unit tests for plotting are comparing and doing what it's supposed to. HOT 6
- Add Hysplit data support HOT 1
- Add examples for working with INP/Aerosol data HOT 5
- Support for Aerial Measurements (UAS, Aircraft, TBS) HOT 7
- ACT does not support QC format from ARM's new Simple QC Feature in Data Discovery HOT 2
- add_dqr_to_qc not working properly HOT 2
- Rename CSV submodule HOT 8
- Add warning to change units when fails HOT 1
- Migrating PPI/Lidar etc Data to xradar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from act.