Comments (2)
I'd hate to hard code a list of available species for each network into the AMET code since network species availability does change from time to time. I could put a check in that if a query for a species returns all null values that AMET reports a message like "No data found for [species] from [network] network. It may be that [network] does not observe [species] or no data are available for your query specifications." Now, there are obviously other reasons why there may be no data for a particular query, but at least this would report that no data were found and let the user figure out why. There is a list of species per network in the User's Guide. I could refer users to that guide as well.
What do you think?
from amet.
To this end, I've updated the scripts that handle multiple networks to avoid crashing if a network returns an empty query. Previously the scripts would crash if any query returned no results. Now, the script will attempt to continue on to the next network if an empty result is returned. This should make a number of the scripts more robust. If all the queries return no results, the script still crashes however. These updates will be available in the AMETv1.4 release.
from amet.
Related Issues (17)
- Documentation HOT 5
- Met Tutorial Data and MADIS obs HOT 1
- Apparent discrepency between code and documentation for fractional bias and fractional error HOT 2
- AMET Example Plots HOT 1
- 2015/16 Obs Data HOT 2
- Version 1.3 Final Testing HOT 2
- Update AQ_Soccerplot.R HOT 2
- Bug in Network.input HOT 4
- Units Update HOT 10
- site_metadata_files HOT 3
- Cannot build bldoverlay, sitecmp, and sitecmp_dailyo3. HOT 8
- AMET on HPC cluster with no MySQL HOT 2
- Issue with AQ_Stacked_Barplot_AE6.R HOT 1
- **Critical** Error in AQ database setup that prevents metadata from loading properly HOT 1
- Login/Pass HOT 5
- AQ Batch Scripts HOT 1
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 amet.