SynopticPy icon indicating copy to clipboard operation
SynopticPy copied to clipboard

issue with the length of time series returned

Open vandam60 opened this issue 2 years ago • 1 comments

I'm trying to download soil moisture time series for all the stations in utah. I've got a list of the stations with that variable. I would like to download all records of the soil moisture from each station. I think precip will be useful too so I'm grabbing that at the same time.

the problem is that I only get data back for one year starting in 2023-02-09 16:10:00+00:00. today is 9-Feb. so I'm thinking I'm only allowed to download a year of data using my script below.

two questions,

  1. can I overcome this issue of downloading only one year of data?
  2. I would be happy with daily resolutions of the variables I want. Can I specify daily data in the script?

Thank you for your attention and assistance

---tonie van Dam

here is my short script:

import datetime as dt from synoptic.services import stations_timeseries

dtstart=dt.datetime(2000,1,1) dtend=dt.datetime(2023,12,31) sta='FG021' df = stations_timeseries(stid=sta, vars=['soil_moisture', 'soil_temp','snow_water_equiv','precip_accum_ten_minute'], start=dtstart,end=dtend)

vandam60 avatar Feb 09 '24 16:02 vandam60

Hi @vandam60, I think Syntopic has changed the level of data access for their free tier. I think only the last 12 months of data is free without a comercial subscription.

https://synopticdata.com/pricing/open-access-pricing/

https://synopticdata.com/pricing/commercial-pricing

You could see if you can find a longer data record at https://mesowest.utah.edu/

blaylockbk avatar Feb 22 '24 06:02 blaylockbk