Comments (3)
Do you happen to know the usaf_id for the station it's failing on? Definitely a bug, I'd like to reproduce it locally.
from eeweather.
@philngo Not sure exactly, but if you just go into the metadata database and grab one of the weather stations where the elevation is null and try to instantiate an ISDStation, I think it will trigger the error. I replaced all the null elevations with a very high value as a hacky workaround, so this doesn't work on my machine now.
from eeweather.connections import metadata_db_connection_proxy
from eeweather import ISDStation
conn = metadata_db_connection_proxy.get_connection()
cur = conn.cursor()
cur.execute('''
select
usaf_id
from
isd_station_metadata
where
elevation IS NULL
''')
row = cur.fetchone()
station = ISDStation(row[0])
from eeweather.
@enovity I found one - should be fixed now, released as 0.3.6.
from eeweather.
Related Issues (19)
- ModuleNotFoundError: No module named 'requests' HOT 1
- AttributeError: module 'eeweather' has no attribute 'match_zcta' HOT 3
- Provide IECC Climate Zone for each IECC Year HOT 4
- `fetch_tmy3_hourly_temp_data` always returns the same csv's data HOT 7
- eeweather incompatible with Python 3.7
- Failure steps in running TempC example HOT 2
- Runtime Error: Experiencing issue fetching ISD temperature data HOT 3
- Expansion of weather stations included HOT 7
- Underscores in commands instead of hyphens HOT 2
- Receiving an exception when trying to pull ISD temperature data HOT 3
- TMY3 Files are not been retrieved. HOT 9
- OSError: [WinError 126] The specified module could not be found HOT 3
- NCDC is now NCEI
- CA_Building_Standards_Climate_Zones.zip is not found HOT 1
- How to check IECC climate zones for multiple zipcodes at once ?
- Request: Create release with Canadian stations?
- FileNotFoundError on docker-compose run --rm eeweather rebuild-db HOT 5
- SQLAlchemy requires a string schema argument, not Engine object HOT 4
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 eeweather.