Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #needed to make web requests
  2. import requests
  3.  
  4. #store the data we get as a dataframe
  5. import pandas as pd
  6.  
  7. #convert the response as a strcuctured json
  8. import json
  9.  
  10. #mathematical operations on lists
  11. import numpy as np
  12.  
  13. #parse the datetimes we get from NOAA
  14. from datetime import datetime
  15.  
  16. #add the access token you got from NOAA
  17. Token = 'YOUR_ACCESS_TOKEN'
  18.  
  19. #Long Beach Airport station
  20. station_id = 'GHCND:USW00023129'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement