Giter Site home page Giter Site logo

ffr_analysis's Issues

Capture_Analysis.bat vil ikke kjøre

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 . . .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.