fredriknk / ffr_analysis Goto Github PK
View Code? Open in Web Editor NEWThis project forked from larsmolstad/ffr_analysis
This project forked from larsmolstad/ffr_analysis
C:\Users\sigridk\OneDrive - Norwegian University of Life Sciences\Documents\Python Scripts>cd "C:\Users\sigridk\OneDrive - Norwegian University of Life Sciences\Documents\Python Scripts\ffr_analysis\Users\Capture"
C:\Users\sigridk\OneDrive - Norwegian University of Life Sciences\Documents\Python Scripts\ffr_analysis\Users\Capture>call C:\NMBU\Miniconda3\python.exe "C:\Users\sigridk\OneDrive - Norwegian University of Life Sciences\Documents\Python Scripts\ffr_analysis\Users\Capture\field_experiment.py"
2024-03-20 17:07:14,033 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): frost.met.no:443
2024-03-20 17:07:28,824 - urllib3.connectionpool - DEBUG - https://frost.met.no:443 "GET /observations/v0.jsonld?sources=SN17850&elements=air_temperature%2C+max%28air_temperature+PT1H%29%2C+min%28air_temperature+PT1H%29%2C+sum%28precipitation_amount+PT1H%29&referencetime=2024-03-19%2F2024-03-20 HTTP/1.1" 500 795
Didn't retrieve data from frost.met.no.
2024-03-20 17:07:28,832 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): frost.met.no:443
2024-03-20 17:07:43,545 - urllib3.connectionpool - DEBUG - https://frost.met.no:443 "GET /observations/v0.jsonld?sources=SN17850&elements=air_temperature%2C+max%28air_temperature+PT1H%29%2C+min%28air_temperature+PT1H%29%2C+sum%28precipitation_amount+PT1H%29&referencetime=2015-01-01%2F2015-01-31 HTTP/1.1" 500 795
Didn't retrieve data from frost.met.no.
Traceback (most recent call last):
File "C:\Users\sigridk\OneDrive - Norwegian University of Life Sciences\Documents\Python Scripts\ffr_analysis\Users\Capture\field_experiment.py", line 81, in
update_weather_data()
File "C:\Users\sigridk\OneDrive - Norwegian University of Life Sciences\Documents\Python Scripts\ffr_analysis\prog\weather_data_from_metno.py", line 137, in update_weather_data
new_data = get_ty(time.localtime(last_date - 86400), stop)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\sigridk\OneDrive - Norwegian University of Life Sciences\Documents\Python Scripts\ffr_analysis\prog\weather_data_from_metno.py", line 112, in get_ty
ty = remove_duplicates(ty + new_data)
~~~^~~~~~~~~~
TypeError: can only concatenate list (not "NoneType") to list
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\sigridk\OneDrive - Norwegian University of Life Sciences\Documents\Python Scripts\ffr_analysis\Users\Capture\field_experiment.py", line 83, in
make_data_file()
File "C:\Users\sigridk\OneDrive - Norwegian University of Life Sciences\Documents\Python Scripts\ffr_analysis\prog\weather_data_from_metno.py", line 121, in make_data_file
ty = get_ty(start, stop)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\sigridk\OneDrive - Norwegian University of Life Sciences\Documents\Python Scripts\ffr_analysis\prog\weather_data_from_metno.py", line 112, in get_ty
ty = remove_duplicates(ty + new_data)
~~~^~~~~~~~~~
TypeError: can only concatenate list (not "NoneType") to list
C:\Users\sigridk\OneDrive - Norwegian University of Life Sciences\Documents\Python Scripts\ffr_analysis\Users\Capture>pause
Press any key to continue . . .
It could be with just a simple black line or by making all value above 0 red and all below blue (or something else)
Additionally it would be nice to be able to exclude a measuremetn if it is very wrong (so two checkboxes)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.