Comments (3)
Example from log file for site Clifton Hill Ski Slope Exeter
. It continues to be night until 9am.
Tue Dec 2 09:00:03 2014 - Cloudy
Tue Dec 2 10:00:03 2014 - Cloudy
Tue Dec 2 11:00:08 2014 - Cloudy
Tue Dec 2 12:00:04 2014 - Cloudy
Tue Dec 2 13:00:09 2014 - Partly cloudy (day)
Tue Dec 2 14:00:02 2014 - Partly cloudy (day)
Tue Dec 2 15:00:02 2014 - Partly cloudy (day)
Tue Dec 2 16:00:04 2014 - Partly cloudy (day)
Tue Dec 2 17:00:04 2014 - Partly cloudy (day)
Tue Dec 2 18:00:04 2014 - Partly cloudy (day)
Tue Dec 2 19:00:02 2014 - Partly cloudy (night)
Tue Dec 2 20:00:02 2014 - Partly cloudy (night)
Tue Dec 2 21:00:03 2014 - Partly cloudy (night)
Tue Dec 2 22:00:02 2014 - Partly cloudy (night)
Tue Dec 2 23:00:01 2014 - Partly cloudy (night)
Unexpected error: <type 'exceptions.NameError'> on line 64
Wed Dec 3 01:00:01 2014 - Clear night
Wed Dec 3 02:00:03 2014 - Clear night
Wed Dec 3 03:00:04 2014 - Clear night
Wed Dec 3 04:00:02 2014 - Partly cloudy (night)
Wed Dec 3 05:00:02 2014 - Partly cloudy (night)
Wed Dec 3 06:00:04 2014 - Partly cloudy (night)
Wed Dec 3 07:00:01 2014 - Clear night
Wed Dec 3 08:00:02 2014 - Clear night
Wed Dec 3 09:00:04 2014 - Clear night
Wed Dec 3 10:00:05 2014 - Sunny day
Ignote the error at midnight, this is covered by #19.
from datapoint-python.
After analysing the log file further it appears that night starts from the 19:00 timestep and finishes at the 09:00 timestep inclusive. This is consistent across a 2 month logging period (October-November).
It is possible that these are hard values set in the backend and no sunrise/sunset calculations are used.
In the last 2 months there have been no occurances of a day timestep reported at night although anecdotally I can say I've seen it happen in the past.
from datapoint-python.
I think stripping the day/night, calculating and storing separately is better. It seems strange that some types of weather (partly cloudy) have day/night given but others (cloudy) do not. Given the date and time is already stored for each timestep I'm not sure there's much point storing night/day at all.
from datapoint-python.
Related Issues (20)
- Make exceptions clearer HOT 1
- get_nearest_observation_site can return False HOT 1
- Refactor get_observations_for_site and get_forecast_for_site
- Remove import * from tests HOT 1
- Re-order logic in Forecast.at_datetime
- Remove Forcast.now_old() and Forecast.future_old() HOT 2
- Should installation of requirements be first in travis.yml? HOT 1
- Use something other than nose for tests HOT 1
- 'bool' object has no attribute 'date' HOT 2
- Add print capabilities to Day, Timestep etc.
- Make forecast know if it is 3 hourly or daily HOT 2
- Met Office Datahub to replace Datapoint HOT 1
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Use something other than id in Element
- Remove api key from Timestep HOT 4
- Remove frequency option from get_observations_for_site, it can only be hourly HOT 1
- Problem setting API key
- Python 3.12, versioneer build failure HOT 6
- Migrate to modern package build
- Migrate away from Travis CI
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 datapoint-python.