Changelog#
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Types of changes:
Addedfor new features.Changedfor changes in existing functionality.Deprecatedfor soon-to-be removed features.Removedfor now removed features.Fixedfor any bug fixes.Securityin case of vulnerabilities.
Unreleased#
0.172.0 - 2026-10-23#
Fixed#
The threat model (
.github/SECURITY.md) and the REST API page were inexact, and the MCP page lacked a section. They now say that the cache directory holds the downloaded bodies it caches, not only the listings; that seven providers fetch URLs an upstream’s answer names, so a compromised upstream can make the server fetch from another http(s) host (GH-3339); and that the provider text the MCP tools return, such as DWD alert text, is unfiltered and untrusted for an agent (GH-3347)Three pages stated what the code does not do. Scheduling said an unwritable cache directory fails the run: it warns once and caches in a temporary directory for that run, so every run downloads again. Climate Stripes put the
unitof/api/stripes/valuesinmetadata; it is inseriessince 0.158.0. Interpolation gave celsius values and a Frankfurt elevation span that neither the code nor DWD’s files give (GH-2621)
Security#
The floors of four dependencies now exclude releases with published advisories:
aiohttp>=3.14.4(was>=3.14.0; every download),duckdb>=1.1.0(was>=1; thesqlandduckdbextras: GHSA-w2gf-jxc9-pf2q, wheresniff_csvread files with external access off, which the REST SQL filter relies on),pypdf>=6.21.1(was>=3.12.1; thepdfextra) andinfluxdb>=5.3.1(was>=5.3), withmsgpack>=1.2.1in theinfluxdbextra (5.3.0 pinnedmsgpack==0.6.1, GHSA-6v7p-g79w-8964). An installation that holds an older release keeps it when wetterdienst is upgraded: upgrade these packages as well (pip install --upgrade aiohttp duckdb pypdf influxdb msgpack) (GH-3343)Breaking: the REST API and the MCP tools bound the inputs of
interpolateandsummarize, so that one request cannot ask for an unbounded amount of work: a station distance given is at most 200 km,num_additional_stationsat most 20 andmin_gain_of_value_pairsabove 0 (a 422 past them), and a request whose radius reaches more stations with a record in the window thanWD_RESTAPI_MAX_STATIONS(100) is refused aslimit-exceededbefore any download. A caller who needs more uses the Python API or the command line, which take any value. Everywhere, the search for a group of four stations to interpolate from looks at the 30 nearest stations of a parameter at most, and falls back to one group around the point where none of them surrounds it. The explorer of the app holds its inputs to the bounds (GH-2606)The REST API sends
X-Content-Type-Options: nosniffon every answer, errors and streams included, and aContent-Security-Policythat allows no script or request on the index page and thesvganswers, so that a browser does not take a body for another media type or run script in an SVG opened as a document./docs,/redocandformat=htmlcarry no policy, as they run scripts (GH-3349)
0.171.0 - 2026-10-23#
Changed#
The
radarplusextra needswradlib>=2.6.0(was>=2.0.1): the first release whoseradolanbackend opens the ODIM HDF5 file DWD serves as the RADOLAN RW, where older ones raise aUnicodeDecodeError. A host that pins an older wradlib upgrades it (GH-3329)chmi/observationstations ofdaily,monthlyandannualare the ones with a file of a requested parameter, not of any element of the resolution (0.169.0):daily/data/sunshine_durationlists 312 of the 1,537 stations, the other 1,225 answered it with no values (read 2026-10-23). A dataset lists the stations with a file of any of its parameters, from the directories of the requested elements only;10_minutesandhourlystill list all stations (GH-3295)
Security#
wetterdienst now requires certifi 2026.10.19 or later (was 2024.2.2): older certifi releases still trust the
emSign ECC Root CA - G3, whose intermediate CA keys are compromised (GHSA-6q48-6c7w-9gw2), anduse_certifi(WD_USE_CERTIFI) hands that bundle to every download. The Docker image is built on a python base image (3.15.1) with pip 26.2.2 and Debian’sca-certificatesupdate. An installation from PyPI resolves its own certifi: upgrade it there, and the system trust store through the operating system, see.github/SECURITY.md(GH-3331)
0.170.0 - 2026-10-23#
Changed#
Breaking:
dwd/observationhourly/temperature_soilhistorical: the stamps of the periods whose source is the eMD archive (up to 1991, 74 East German stations, the terms 01, 04, …, 22) are MEZ, not UTC, and come back one hour earlier (00, 03, …, 21), per depth, withzone:mezinquality_flags. The same holds forhourly/temperature_airof Diepholz from 1995-02-01 00 to 1996-05-31 23, which its plain MEZ label does not mark. Add an hour to flagged stamps to get the old ones; the Diepholz stamp 1995-02-01 00 is the row of 1995-01-31 23 and is dropped. The hourly wind of Bückeburg and Celle is right as written (ISD is the one an hour off there), and Regensburg-Oberhub and Stötten stay as written (GH-3029)
Fixed#
The migration guide named no release for the
dwd/observationhourly air temperature of the MEZ periods (0.155.0, GH-2709), and its “Verified” section counted 361 parameters of 0.139.0 that are gone where there are 403, with two removals (WSV Pegel, NWS) missing from its list (GH-3321)dwd/radarDwdRadarValueswithstart=DwdRadarDate.LATESTof a product that is no sweep: a folder with no file named latest (warnsNo radar file found, as the sweeps do) or a latest.tarwith no member (warnsNo radar data found in <url>) now answers no result instead of raising a polarsValueErroror aRuntimeError. Two files named latest are both answered, the first result of each, in the order of their names. A connection failure is still raised (GH-3311)
0.169.0 - 2026-10-23#
Added#
dwd/radarreads the folderunfilteredof the reflectivity sweeps, which holds the total reflectivityTHandTV(subset=DwdRadarDataSubset.UNFILTEREDofSWEEP_PCP_REFLECTIVITY_HandSWEEP_VOL_REFLECTIVITY_H): both files of each sweep are answered, told apart byresult.url.start=DwdRadarDate.LATESTof the precipitation sweep is its-LATEST-files, TH and TV. That of the volume sweeps stays refused, as DWD replaces the ten files one by one and they come from two volumes for minutes; ask for a time (GH-3288)
Changed#
Breaking:
dwd/dmoprecipitation_amount_last_1h(rr1) andprecipitation_amount_last_3h(rr3) are 0.0 where ICON writes a little below 0 (to -0.10 and -0.04 mm; 2769 of 459,732RR1values of the icon run of 2026-10-22 12Z), with the number kept asraw:-0.1inquality_flags; they were negative, and a-0.00was-0.0. Nothing to change in a caller; filter onraw:for the old numbers.radiation_global(rad1h) andradiation_short_wave_net_last_3h(rads3) stay as written, a little negative at night (mostly above -0.2 J/cm2, at a few stations to about -0.8), and their descriptions say so (GH-3263)Breaking: the direct radiation of
dwd/poi(direct_solar_radiation_last_hour) isradiation_sky_short_wave_direct_perpendicular_intensity, no longerradiation_sky_short_wave_direct_intensity: it is the irradiance on a plane perpendicular to the sun’s rays, not the component on a horizontal surface, so it can exceed the global radiation. The old name is refused with the new one named; values and units are unchanged. Request, filter and key by the new name; multiply by the cosine of the solar zenith angle for the horizontal component. Release the app after this backend (GH-3263)chmi/observationlists, fordaily,monthlyandannual, only the stations that have a file in the resolution: 25, 24 and 29 of the 1,562 stations ofmeta1.csv(closed ones such as Sadská) answered every request with an empty frame (read 2026-10-22).10_minutesandhourlystill list all 1,562. A stations request for the three now lists the element directories (7, 2 and 2), and a failed listing raisesNoInternetErrororDownloadError. The monthly and annual files of 29 and 22 ids thatmeta1.csvdoes not carry, with no position anywhere, stay unlisted (Part of GH-3259)noaa/ghcndailyno longer lists the 147 stations ofghcnd-stations.txtthat have no line inghcnd-inventory.txt(133,039 listed, read 2026-10-22): 83 CanadianCAN030..., 58 USUSC..., 5 Swedish and 1GMM. 146 have no data file (access/<id>.csvis a 404);USC00144840has one, PRCP of 2013 flaggedZ. They had nullstart_timestampandend_timestampand the nearest-station search could pick them. Looking one up by id now warns that there is no such station and answers an empty frame (GH-3260)
Fixed#
dwd/radar:start=DwdRadarDate.LATESTanswersRadarResult.timestampfor the latest files whose name has no time, which wasNone: the-latest-files of the site products, the-LATEST-sweeps of the precipitation scan, HX, DMAX, VII, HymecNG and the RADOLAN products. It isdateandtimeof the/whatgroup of the ODIM HDF5 file (needs h5py, theradarextra; without itNoneand one warning), the header of aDXfile, or the event time ofmeso_latest.xml, which staysNonefor a run with no event (GH-3299)dwd/radar:DwdRadarDate.MOST_RECENTof the volume sweeps (SWEEP_VOL_*) is the 5 minute slot 10 minutes before now, no longer 5: their last sweeps are listed up to 485 s after the slot starts, so 0.6 % of the answers lacked sweeps (0.1 % had fewer than four) (GH-3302)The example
dwd_radar_composite_rw.pyplotsACRR, the variable wradlib reads from a RADOLAN RW file (it asked forRWand failed). The radar docs say what an RW file holds and that it is ODIM HDF5, whichwrl.io.read_radolan_headercannot read: use h5py orxr.open_dataset(..., engine="radolan")(GH-3298)eaufrance/hubeaudescriptions ofstageanddischargeno longer say the source states no statistic and, for the height, no reference level. The swagger dates a value by the instant it occurred, with no interval, and the height is relative to the zero of the station’s gauge, so stations share no level; the station’sgauge_zero(metres, ingauge_zero_datum, not given for every station) is that zero. No value or name changed (Part of GH-3264)wsv/pegeldocs no longer constrainstageto>=0: a stage is read against the gauge’s own datum, and on 2026-10-22 nine gauges stood below it (Schillig -250 cm, Rotterdam -35 cm). The values were never clipped; only the constraints column of the five resolution pages said so. Theipma/observationpage no longer callsradiacaoglobal radiation: the source says only “radiação solar (kJ/m2)” (Part of GH-3242)dwd/radar:DwdRadarDate.MOST_RECENTofLMAX_VOLUME_SCAN,PE_ECHO_TOP,PR_VELOCITYandPZ_CAPPIis the 5 minute slot 10 minutes before now, no longer 5: DWD publishes them more than 5 minutes after the run in 18 of 577 runs (up to 8 minutes), and the 5 minute slot was empty then (GH-3288)dwd/observationanddwd/derivedlog a warning, once a process, that names the stations that have data files and no line in the station description of any period, when all periods of a dataset are read (01018, 02996 and 05047 indaily/climate_summary, nine inderivedsoil, read 2026-10-22). They were dropped without a word and still are not listed, as DWD gives no name or position for them; the docs pages say so (Part of GH-3258)A parameter name renamed before 0.139.0 whose new name a dataset renamed again is refused with “It was renamed to
”, not a “Did you mean” guess or no hint: humidityin 26 datasets (nowhumidity_relative_mean),visibility_range,precipitation_height*in NWS, NOAA GHCNh, SWSMOS and DMI, andsoil_moisture_gras_*,soil_moisture_winterwheat_*andsoil_moisture_corn_loamysilt_*indwd/derivedmonthly/soil(GH-3276)metadata.provider.license.urlof Météo-France and Eaufrance answershttps://www.data.gouv.fr/pages/legal/licences/etalab-2.0, the Etalab 2.0 text; the old etalab.gouv.fr address redirected to the data.gouv.fr home page.metadata.provider.urlof SMHI is nowhttps://www.smhi.se/data/sok-oppna-data-i-utforskaren, where the old one redirected (GH-3255)
Security#
The Docker image, and an environment synced from
uv.lock, now hold opentelemetry-api 1.45.1, which bounds the parsing of thetracestateheader (GHSA-xcq7-p3pf-p88h). It reaches wetterdienst through FastAPI and the MCP server (restapiandmcpextras). An installation from PyPI resolves its own version: upgrade it there (GH-3280)
0.168.0 - 2026-10-22#
Added#
dwd/radaroffers the products DWD publishes and it did not (read 2026-10-22), all inDwdRadarParameter: the compositesRS_PRECIPITATION_SUM(a.tara run asRV_, the precipitation of the hour),HX_REFLECTIVITYandDMAX_REFLECTIVITY,VII_INTEGRATED_ICEandHYMECNG_PRECIPITATION_TYPE, each ODIM HDF5; the RADOLANYW_REFLECTIVITY; the unfilteredSWEEP_VOL_andSWEEP_PCP_ZDR,RHOHVandPHIDP(DwdRadarDataSubset.UNFILTERED, whichsubsetneed not name); and the XML ofKONRAD3D_CONVECTIVE_CELLSandMESOCYCLONE_DETECTION(DwdRadarDataFormat.XML, handed over unparsed inresult.data). The radar docs page says what each is (GH-3283)
Removed#
Breaking: the radar BUFR reader is removed:
read_radar_bufr,DwdRadarDataFormat.BUFR,RadarResult.dfand theread_bufrsetting (WD_READ_BUFR, now ignored). DWD’s index of weather/radar (1.03 million files, read 2026-10-22) holds no BUFR file, nor does any other directory of weather/ hold a radar one.fmt="bufr"is anInvalidEnumerationErrorandSettings(read_bufr=...)aValueError, each with the reason; read the ODIM HDF5result.data. Thebufrandeccodesextras and the BUFR ofdwd/roadare unchanged.radarplusno longer installspybufrkitandbitstring, which nothing imported (GH-3287)
0.167.0 - 2026-10-22#
Security#
The Docker image, and an environment synced from
uv.lock, now hold certifi 2026.10.19 and Pillow 13.0.0 (30 vulnerabilities inuv audit), and pypdf 6.21.1 where thepdfextra is installed (the image has none). certifi drops theemSign ECC Root CA - G3, under which eight intermediate CA keys are compromised (GHSA-6q48-6c7w-9gw2): a host whose certificate chains to it fails the TLS check wherever certifi is the trust store (WD_USE_CERTIFI). Pillow reaches wetterdienst only through matplotlib. An installation from PyPI resolves its own versions: upgrade these there (GH-3280)
Changed#
Breaking:
dwd/radarreads the layout DWD publishes now (read 2026-10-22). The compositesRV_REFLECTIVITYandWN_REFLECTIVITYare one.tara run of ODIM HDF5 files, one for the analysis and each lead time (composite_rv_20261022_1130_005-hd5), no longer RADOLAN binary files packed as.tar.bz2or.bz2: decoderesult.datawith h5py or wradlib’s ODIM reader.LATESTofRV_REFLECTIVITYfailed withcan only call '.item()'and that ofWN_REFLECTIVITYhanded over the whole tar as one result; both answer the first file of the latest run, the analysis, now.LMAX_VOLUME_SCAN,PE_ECHO_TOP,PR_VELOCITY,PX250_REFLECTIVITYandPZ_CAPPIare ODIM HDF5 only, no longer binary or BUFR: leavefmtout, as a format a product is not served in is aRequestErrornaming the one it is, no longer an empty answer (GH-3279)
Removed#
Breaking:
DwdRadarParameterno longer hasHG_REFLECTIVITY,PG_REFLECTIVITY,PX_REFLECTIVITY,PF_REFLECTIVITY,RE_REFLECTIVITYandRQ_REFLECTIVITY:composite/hg,composite/pg,sites/pf,radvor/reandradvor/rqhold no file andsites/pxonly stale files of a single site (found 2026-10-22), so no request could return a value. A request for one is anInvalidEnumerationErrorthat says so; useRV_orWN_REFLECTIVITYfor a composite or a forecast,PX250_REFLECTIVITYfor a site.RADAR_PARAMETERS_RADVORis gone with them. DWD publishes no radar product as BUFR any more, soread_bufrhas no effect (GH-3279, GH-3282)
0.166.0 - 2026-10-22#
Changed#
Breaking: the air temperature of
wsv/pegel(LT,LUFTTEMPERATUR) istemperature_air, no longertemperature_air_2m: PEGELONLINE states no height for it. The old name, andtemperature_air_mean_2mof 0.139.0, are refused with the new one named; values and units are unchanged. Request, filter and key by the new name (GH-3242)Breaking: parameters of
dwd/swsmosanddwd/derivedare named for what DWD’s sheets state.dwd/swsmos:temperature_air_2m(TL) istemperature_airandtemperature_dew_point_2m(TD) istemperature_dew_point(no height is stated; the 0.139.0..._mean_2mnames too);road_surface_condition(RC) isroad_surface_condition_forecast, its codes (1 dry, 2 moist, 3 snow, …) are not the BUFR ones ofdwd/road(0 dry, 1 moist, 2 wet, …), which keeps the name.dwd/derived:soil_moisture_winter_wheat_*,soil_moisture_mean_winter_wheat_*andevaporation_amount_winter_wheat_*are..._winter_cereals_...(“Wintergetreide”). The old name is refused with the new one named; values and units are unchanged: request, filter and key by the new name. Release the app after this backend (GH-3263)Breaking: the daily maximum wind of
chmi/observation(Fmax) iswind_speed_max, no longerwind_gust_max: CHMI calls it “Max rychlost”, the maximum speed, and states no gust. The old name is refused with the new one named; values and units are unchanged. Request, filter and key by the new name (GH-3264)
Removed#
Breaking:
wsv/pegelno longer haschloride_concentration(CL),precipitation_amount(NIEDERSCHLAG) andprecipitation_intensity(NIEDERSCHLAGSINTENSITÄT):stations.json?timeseries=answers 0 stations for each shortname (786 stations read on 2026-10-21), so no request could return a value. A request for them is an unknown parameter.chloride_concentrationis no parameter of any provider now, sochlorid_concentration, its old misspelling, is unknown too; the other providers keepprecipitation_amountandprecipitation_intensity(GH-3242)The
nightlytag ofghcr.io/earthobservations/wetterdienstand-appis no longer published: the images are built on release tags only. An image pulled by:nightlystays at its last build, so pull a release tag (:0.165.0of the backend,:0.29.0of the app) instead (GH-2477)
Fixed#
The
wsv/pegeldescriptions called every series “a reading”; PEGELONLINE states “ungeprüfte Rohdaten”, one value per recording interval of the series, and no statistic, so they now say that and name the units the series are published in (e.g.m+NNstage,MGNflow direction) (GH-3136)The
ipma/observationwind, precipitation and radiation descriptions were the canonical sentences: they now give the source’s 10 m (wind) and 1.5 m (precipitation, accumulated over the hour) heights, the 8-point wind direction class, and say the radiation’s period and kind (“global”, “horizontal”) are not stated by the source (the old text said global, horizontal and per interval; the daily course only suggests an hourly sum) (GH-3136)dwd/deriveddaily/soilandmonthly/soillisted 479 of the 484 stations of DWD’s list: the soil files of the stations 44, 73, 78, 91 and 96 (..._v2_44.txt.gz, the index is not padded) were not found, so those stations were missing and a request for one answered “No station”. They are listed now and return their values (GH-3257)The REST API’s row limit estimated a
valuesrequest withperiods=recentfrom the whole record of each station, so the first documented sample (daily/kl, stations 1048 and 4411, 12,319 rows) was refused on a default server as “about 714,308 rows”. The estimate now counts only what the requested periods hold (about two years forrecent, longer for the 1 and 5 minute and the annual data, the whole record for datasets with norecentrelease of their own, as hourly solar has); a request for the whole record is still refused when it is over the limit (GH-3249)DWD descriptions that stated what the source does not: the
dwd/swsmosliquid precipitation (RRL1c) read MOSMIX’s “consistent with significant weather”, andTLandTDsaid 2 m (the sheet gives no height); thedwd/poinew snow was “since the previous observation” (it is in the 06 UTC report only, with no period stated); thedwd/derivedsoil rows said “winter wheat” for DWD’s winter cereals; thedwd/mosmixww3read as plainww. They now say what the sources say (GH-3136)The REST API’s row limit estimated a DWD
valuesrequest withperiods=nowfrom the whole record of each station, so10_minutes/temperature_airat a station recording since 1993 came out at about 8.7 million rows against a few hundred read, and the caller was told to stream. The estimate now counts the days thenowfiles hold, measured on the real files with a margin of two (five days for the 1 and 5 minute data, four for the 10 minute data); a request for the whole record is still refused when it is over the limit (GH-3271)The
chmi/observationdescriptions called the daily mean temperature the average of the 06:00, 13:00 and 20:00 observations; it is (T06 + T13 + 2 T20) / 4, while humidity, pressure and wind speed are the plain average. The monthly and annual rows said “read at 06:00 each day” (precipitation) or described a daily value (temperature) and now say they are the month’s or year’s total or mean; the precipitation of a day is the 24 hours from 06:00 UTC of that day, not those before it (GH-3136)
0.165.0 - 2026-10-21#
Added#
The option
station_window_end_buffer(WD_TS_STATION_WINDOW_END_BUFFER, the command line’s--station-window-end-buffer, a query parameter ofstationsandvalues) sets how many days after the end its catalogue publishes a station is still kept for a request window:0compares the end exactly, and the default (None) is the buffer by resolution that applied before: two days, 62 for monthly, 732 for annual.filter_by_nameand thestationslisting of every surface apply it by one rule, the start being compared exactly.valuesreports it in itssettingsblock (GH-3220)
Changed#
Breaking: nine
geosphere/observationparameters whose source states a mean are named as means (GH-2614): the 10-minuteradiation_global_intensity(cglo),radiation_sky_short_wave_diffuse_intensity(chim),wind_direction(dd),wind_speed(ff) andsnow_depth(sh), the hourlyradiation_global_intensity,wind_directionandwind_speed, and the monthlypressure_air_site(p) are now<name>_mean. The old name is refused in those datasets with the new one named, values and units are unchanged: request, filter and key by the new name. The same fields that state no mean keep their name. Release the app after this backendBreaking:
nws/observationno longer hastemperature_air_max_2m_last_24handtemperature_air_min_2m_last_24h(maxTemperatureLast24Hours,minTemperatureLast24Hours): api.weather.gov answered null in all 49,688 observations of 108 stations read, so no request could return a value. A request for them is an unknown parameter; the METAR’s 24 hour group exists only in its raw message.meteofrance/synopstill has both names (GH-2614)
Fixed#
The description of the Geosphere datasets said they hold observations “for Germany” (they are Austrian) and, for three of them, only 2 m air temperature and humidity; the
glossary, thecoverageanswers and the docs now say what the source’s titles say. The Météo-France daily precipitation and new snow windows start at 06h FU, not 06h UTC, overseas (GH-3136)The IMGW descriptions of
temperature_air_min_0_05msay “at the ground (przy gruncie)” and that the source states no height, never 5 cm, and the_2mair temperatures say the file states no height (the shelter convention); the nametemperature_air_min_0_05mis unchanged (GH-3136)The app’s forecast chart (also the embeddable widget) was missing its wind barbs at first paint and showed them only once something made Plotly draw again, such as a resize of the browser window. They are drawn with the chart. App only, no backend release needed (GH-3240)
0.164.0 - 2026-10-21#
Changed#
A station
nameis matched without regard to diacritics, on the command line, the REST API, MCP and infilter_by_name:Köln,Kolnandkoelnall findKöln,DusseldorfandDüsseldorffind the same stations,ßisss,łisl. A search that found one spelling now finds the others, and athresholdof 1 finds a name that differs only in its diacritics (GH-2625)Breaking: the Python
filter_by_namematches the name among the stations that have a record in thestartandendof the request, asstationsandvalueswith atimestampalready do, adf_allyou pass included: a station that closed before the window or began after it is no match. Build the request withoutstartandendto match all stations as before (GH-2625)Breaking: five parameters of
dwd/roadandipma/observationare named for what their source’s value is (GH-2614).dwd/road:temperature_air_2m(airTemperature) istemperature_airandtemperature_dew_point_2mistemperature_dew_point, the sensors stand 4 to 5 m above ground and never at 2 m;humidity_relative_meanishumidity_relative, a reading and no mean.ipma/observation:humidity_relativeishumidity_relative_meanandpressure_air_sea_levelispressure_air_sea_level_mean, IPMA’s hourly means. The old name is refused with the new one named, values and units are unchanged: request, filter and key by the new name. Release the app after this backendBreaking: a wind direction of 0 is null, with
raw:0inquality_flags, only beside a speed of 0 of the same reading, a calm, in every provider; a 0 beside a wind that blows is 0 degrees, where it was null indwd/observationhourlywindand subdailywind(beside a force of 0),dwd/poi,ecccdaily gust,fmi,meteofrance/observation(DD,DXI),meteofrance/synop,noaa/ghcnhourly andsmhi. SMHI reads the speed with the direction, one more download when only the direction is asked for. Tell a calm byraw:0inquality_flagsor by the speed beside the direction, and filter on it for the old nulls; the rules of every special value are on the new docs pagedata/special_values(GH-3222)Breaking:
meteoswiss/observationwind_direction_mean(10 minutes, hourly, daily) is null, withraw:0inquality_flags, where the file holds a 0 beside a speed of 0, a calm (912 of the 1,169 zeros of BER, SMA and JUN in 2024): it was 0 degrees, north. A 0 beside a wind that blows stays. Filter onraw:0or on the speed for the old calms (GH-3222)Breaking: a value cell that is the text
nanorinfis null and counted in the core’s debug line, as a text that is no number is; a cast made it a NaN or an infinity. Test for null, not for NaN. A number padded with blanks is read, where it was null (GH-3222)
Fixed#
stationswith a point and arank(command line, REST API, MCP) listsrankstations, each with a row per requested dataset; with two datasets it counted rows andrank=2listed one station twice (GH-2625)Breaking:
dwd/roadreturns a value outside the physical range of its quantity as null, with the number DWD wrote asraw:<number>inquality_flags, asdmiandrmido: the -75 °C of a stopped sensor (raw:198.15, in kelvin) and any temperature below -60 °C. It was returned as published, marked1. Read theraw:token, withdrop_nulls=False, for the number (GH-3222)ipma/observationandlhmt/observationread a value that is a text and no number, or a JSONNaN, as null and count it in the core’s debug line: such a cell raised and failed the request, and LHMT returned aNaNas a value (GH-3222)
0.163.0 - 2026-10-20#
Changed#
Breaking: five parameters are named for what their source’s value is (GH-2614).
dwd/dmoicon:radiation_global_last_3h(rads3) isradiation_short_wave_net_last_3handradiation_sky_long_wave_last_3h(radl3) isradiation_long_wave_net_last_3h, DWD’s radiation balances, positive downward.dwd/observationmonthly and annual:snow_depth(mo_sh_s,ja_sh_s) issnow_depth_sum.geospheredaily:temperature_air_min_0_05mistemperature_air_min_0_05m_night.dmidaily:precipitation_amount_maxisprecipitation_amount_max_30min. The old name is refused with the new one named, values and units are unchanged: request, filter and key by the new name. Release the app after this backendBreaking: 19 canonical names that no dataset of any provider declares are gone from the parameter table, so the glossary of the docs, the API and the app no longer lists them and
geo_station_distanceno longer takes them as a key (GH-2614). No dataset could be asked for them. A request forradiation_global_last_3horradiation_sky_long_wave_last_3his refused with the name to use,radiation_short_wave_net_last_3horradiation_long_wave_net_last_3h; forgroundwater_level_max,groundwater_level_minand the twoevapotranspiration_potential_grass_*_last_24has before, in their dataset. The rest, among themcloud_base_convective,temperature_radiant_mean_2mand elevenquality_*flags, is an unknown parameter, and so isquality_precipitation_height(and_liquid): its rename toquality_precipitation_amount, which no dataset declared either, is gone with it
0.162.0 - 2026-10-20#
Changed#
The dependency is now
polars[calamine]>=1.43.2,<3(it was>=1.43.0): 1.43.0 and 1.43.1 are yanked on PyPI, so no installer resolved them by default and 1.43.2 is the oldest polars a caller can get. Pinned environments that still hold 1.43.0 or 1.43.1 upgrade polars (GH-3138)AEMET: the
Ip(inapreciable) of a precipitation below what the gauge reads is 0.0, withraw:Ipas the last token ofquality_flags, inprecipitation_amount(daily, monthly, annual) andprecipitation_amount_max(monthly, annual); it was null. A day of trace now counts in a sum, as in KNMI (-1) and Météo-France synop (-0.1), which already read a trace as 0.0. Every other text that is no number stays null with its text (GH-3188)IMGW: the
attributionin themetadatablock of its answers carries both statements the terms prescribe, the source of the data (§ 5 ust. 3) and that the data were processed (§ 5 ust. 4), andlicense.urllinks the terms’ PDF, not the portal. The docs say that the data are free for private use only, since IMGW has declared none high-value, and that a business use needs an agreement with IMGW (GH-2567)The app’s climate stripes and forecast chart (also the embeddable widget) have a text alternative: the chart is described by a sentence, and “Show as table” below it lists what it draws, every year with its value and class for the stripes, every time with the values of the shown panels for the forecast, so a screen reader or a keyboard reads the data that colour and shape carry. Plotly’s modebar buttons were found keyboard-operable already and are now held so by a test (GH-3145)
Fixed#
DMI, RMI, MET Norway Frost and DWD (
dmo,mosmix,poi): a station list the source answers with no station is the empty stations frame now. DMI and RMI answered one station with every column null, Frost and the fixed-width lists of DWD (a header and no row) raised (GH-3203)NOAA GHCN (
hourly,daily), IMGW (hydrology,meteorology) and WSV (a stage or another parameter that is scaled to its unit): a value cell that is a text and no number is null now, as in every other provider, where it raised and lost the whole station. The rows around it are returned (GH-2627)ECCC
monthlystations have noend_timestampany more: the station list’sMLY_LAST_DATEstops at 2018-02 for every station while the monthly rows run to 2026-09, so atimestampafter 2018 left out every station with monthly values, and with itstationsandvalueswith anamefound none. The daily and hourly ends are unchanged (GH-3026)dwd/observationhourly/moisture:pressure_air_site(P_STD) is also null in a file of at least 500 readings that holds two or three distinct values, the pressure of a station without a barometer whose constant changed (55 files, e.g. 953.1 then 954.8 at 00142, 977.1 then 977.6 at 00091); no other file holds fewer than 47. Each value stays as the lastquality_flagstoken (raw:954.8). Take the pressure of another source for such a station (GH-3139)metno/frostdaily and monthlysunshine_durationis in hours, as Frost’sunitof every observation says, and comes back as the seconds of those hours: it was read as seconds, so the values were 3,600 times too small (10.4 hours of sunshine came back as 10.4 s) (GH-3137)knmi/observation10-minutecloud_cover_totalis null, withraw:9inquality_flags, where the file holds a 9, the sky obscured by fog (128 of 11,293 readings in two weeks of October mornings): it was 1.125, as the hourly and daily cloud cover were before (GH-3135)aemet/observationhourlywind_direction_mean_last_10minis null, withraw:0inquality_flags, where the feed writes a 0 beside a mean speed of 0, a calm (112 of its 114 zeros; north is 360): it was 0 degrees. A 0 beside a speed above 0 stays (GH-3135)metoffice/observationhourlywind_direction_mean_last_10min,wind_direction_meanandwind_direction_gust_maxare null, withraw:0, where the file holds a 0 beside a speed of 0 (the gust direction beside the gust speed), a calm: the table says zero direction and speed mean no wind, and north is 360. A 0 beside a speed above 0 stays.cloud_cover_totalis null where the file holds a 9, the sky obscured. They were 0 degrees and 1.125 (GH-3135)metoffice/observationhourlyrain,windandradiationkeep only the readings of one hour (ob_hour_count1): the 12 hour rain totals ending 09:00 and 21:00 and the 24 hour radiation totals, which are in the same files, replaced the reading of their hour with the maximum (GH-3137)The
wsv/pegelparameter descriptions no longer say “average … during time scale”: the values are the raw readings PEGELONLINE publishes (... ROHDATEN) at the recording interval of each series. The data are those of the last 31 days, not 30 (GH-3136)The
metoffice/observationdocs and the descriptions of the daily temperatures say that a day is the date ofob_end_time(the source’s 09Z day) and that 24-hour 09-09Z rows (2,962 of 14,334) fall on the day after most of their coverage, where the docs said the true daily extreme was recovered (GH-3137)
0.161.0 - 2026-10-19#
Changed#
Breaking: the stations of a
namecome back best match first, not in the order of the station list, andrankcounts stations:filter_by_name(name, rank=3)is at most three stations, with all their rows, where a station with several datasets used up the rank with its own rows and two stations of the same name both came back. Equal scores are ordered bystation_id. Callers that relied on the order of the list sort the result themselves (GH-3025)valueswith anameand atimestamp(command line, REST API, MCP) matches the name among the stations that have a record in the window, asstationsdoes, so the best match is no station that closed before it while one of the same name is open. A window that no station of the name covers is an empty result. The Pythonfilter_by_namestill matches all stations: pass the stations of the window asdf_all(GH-3026)
Deprecated#
Wetterdienst(provider, network)and the CLI commandwetterdienst stripes valuesare removed in 1.0.0, as theDeprecationWarningand the command’s notice now say: useWetterdienst.resolve(provider, network)(resolve_standalonefordwd/radaranddwd/alerts) andwetterdienst stripes image. Both work unchanged until then (GH-3128)
Fixed#
ea/hydrologydailygroundwater_level_maxandgroundwater_level_min, which becamestage_maxandstage_min(GH-2632), are refused with the new names, asdwd/derivedmonthlyevapotranspiration_potential_grass_fao_last_24hand..._haude_last_24hare now withevapotranspiration_potential_grass_faoand..._haude; they said only “not found” (GH-3168)A
filter_by_sqlon a wide frame names the new column for a parameter that was renamed in one dataset only (wind_speedforwind_speed_mean_last_10min) when the frame has it, as it does for the other renames. A key ofgeo_station_distancefor such a name is still accepted, as the name is a parameter of the datasets that keep it; key the new name for the renamed one (GH-3008)The CLI no longer answers an unknown option with a refused one:
wetterdienst stations --lead-time=longsuggested--end-date, which is itself refused in favour of--end. Refused options are left out of “Did you mean”, and a renamed option still names the new one (GH-3167)Breaking: reading a
dwd/mosmixordwd/dmorun that fails raises theDownloadErrorof every other download, or theNoInternetErrorwhere no connection could be made, with the failure as__cause__, where a TLS failure was a baressl.SSLError, a reset, timeout, 5xx or cut-short body the aiohttp or fsspec error, and a missing run (or any failure with the cache disabled) aFileNotFoundError. The REST API answers 502, 503 or 504 for them, not 500. CatchDownloadErrorandNoInternetErrorinstead of those (GH-3120)
0.160.0 - 2026-10-18#
Added#
startandendof a request take a month and a year as strings,"2020-05"and"2020", as the whole span they name, as the REST, CLI and MCPtimestampalways read them:start="2020-05"begins at the first instant of May andend="2020-05"ends at 23:59:59.999999 UTC of the 31st. A bound given alone is the span. Adatetimeand a string with a time stay exact. A string that is none of day, month, year or time is refused with the forms listed (GH-3155)
Changed#
Breaking: the mean of the irradiances, the soil moisture, the snow depth, the precipitation intensity and the Beaufort wind force carries its statistic in the name (GH-3151, last of three families): where the source states a mean of the row’s interval they are
radiation_global_intensity_mean,radiation_sky_long_wave_intensity_mean,radiation_sky_short_wave_diffuse_intensity_mean,precipitation_intensity_mean,snow_depth_mean,wind_force_beaufort_meanandsoil_moisture_mean_<cover>_<soil>_<depth>(35 rows, 6 networks: MeteoSwiss, KNMI, MET Norway, RMI, DWD derived and observation). The old name is refused with the new one named;wsv/pegelstays as it was until WSV confirms its “average”. All rows are in the parameters page of the docs. Release the app after this backendBreaking: the mean of humidity, pressure, cloud cover and visibility carries its statistic in the name (GH-3151, second of three families): where the source states a mean of the row’s interval
humidity_relative,pressure_air_site,pressure_air_sea_level,pressure_vapor,cloud_cover_totalandvisibilityare<name>_mean(81 rows, 14 networks, e.g. DWD daily and monthly, MeteoSwiss, DMI, IMGW, MET Norway), and NOAA GHCN’s average cloudiness iscloud_cover_total_mean_midnight_to_midnightetc. Rows whose source states no statistic or a reading at one moment keep the plain name. The old name is refused with the new one named: change theparameteryou request and filter on, wide column names, SQL filters andgeo_station_distancekeys. All rows are in the parameters page of the docs. Release the app after this backendBreaking: the mean wind carries its statistic in the name, as
temperature_air_mean_2mdoes (GH-3151, first of three families): where the source states a mean of the row’s interval the name iswind_speed_mean/wind_direction_mean(46 rows, 13 networks), and a mean of a shorter window iswind_speed_mean_last_10minetc. (werewind_speed_last_10min; the Met Office hourlyweatherrows werewind_speed, GH-2838). Rows whose source states no statistic keepwind_speed/wind_direction. The old name is refused with the new one named: change theparameteryou request and filter on, wide column names, SQL filters andgeo_station_distancekeys. All rows are in “The statistic in a name” of the docs’ parameters page. Release the app after this backendBreaking:
knmi/observationhourlyvalues are stamped with the end of their hour, KNMI’s own timestamp, where they were stamped with its start: the air temperature KNMI gives for 12:00 UTC was returned as 11:00, the hourly sums and means as the hour that begins at the stamp. Every hourlytimestampmoves 1 hour later, and a request forstart..endreturns the hours that end in it, sostart=end= 12:00 returns the hour 11-12.10_minutes(the file name is its end) anddailyare unchanged (GH-2824)Breaking: a remote listing (
list_remote_files_fsspec,list_remote_directory_fsspec, so every provider that lists) that fails on TLS, a certificate that does not verify or a handshake that fails, raises aDownloadErrornaming the URL, with thessl.SSLErroras its__cause__, as a download does, not the baressl.SSLError(REST: 500, now 502). Code that caughtssl.SSLErroraround a listing catchesDownloadErrorand reads__cause__now; a TLS failure is still asked for once (GH-3099)The OpenAPI document of the REST API is complete:
infonames Wetterdienst with its version, licence and contact (it was FastAPI’s “FastAPI 0.1.0”), andinfo.x-api-versionis the API version,1. There areserversand describedtags./healthand/versionhave response schemas, the index,robots.txtand the stripes image their media types, and each route declares the problems it can answer (400, 403, 404, 500, 501, 502, 503, 504) as references tocomponents.responses, where the 400 and 502-504 of the data routes were inline. 13 parameters have descriptions. A client that readsresponsesof the document has to resolve$refin them (GH-3129)Breaking:
Settings(ts_shape=...)and the otherts_*settings are gone, with reading or assigningsettings.ts_*and asettings={"ts_...": ...}dict, which warned since 0.148.0; they are aValidationErrorthat names the option to pass instead:options=Options(shape=...)(oroptions={"shape": ...}) on the request. TheWD_TS_*variables are unchanged (GH-3128)Breaking: the fields
df_all,stations_filterandrankofStationsResult, which say howdfwas selected, are private:_df_all,_stations_filterand_rank, also as the keywords of its constructor. A caller that read them readsdf; the frozen public surface leaves them out (GH-3128)Breaking: a
startorendof a request that is a date without a time ("2026-01-31", adatetime.date) is the whole day, as the RESTtimestampalways read it:end="2026-01-31"includes the 31st to 23:59:59.999999, where it ended at midnight and left out the day. A date alone is the whole day too. Adatetimeor a string with a time stays that exact instant; end a window at midnight withend="2026-01-31T00:00:00". Adateis accepted as a bound (GH-3133)
Fixed#
knmi/observation: the sunshine durationSQof KNMI’s-1(“less than 0.05 hour”) is 0.0, withraw:-1inquality_flags, where the-1came back as -3600 s, and the9of the hourly cloud coverNand the dailyNG, a sky that is invisible, is null, where it came back as a cloud cover of 1.125 (GH-3123)smhi/observationhourlycloud_cover_total: SMHI’s 113 is null, withraw:113as the last token ofquality_flags, no longer returned as a cloud cover of 1.13. It is the 9 of the oktas scale, a sky that cannot be observed (fog, snow drift), written as a percentage: station 182910 writes it in 427 of 3,140 hours (GH-3122)
0.159.0 - 2026-10-18#
Added#
wetterdienst stripes imagewrites the climate stripes image, named as/api/stripes/imageand the MCP toolstripes_imageare.stripes values, which wrote the image while REST’sstripes/valuesanswers the yearly data, still writes it, with a deprecation notice on stderr (stdout stays the image alone); usestripes imagefor the image (GH-3035)/api/providerscounts the different parameters its networks declare inmetadata.counts.parameters, besideprovidersandnetworks; the app’s home page states that number instead of one it was written with (GH-3105)
Changed#
Breaking: the Docker image listens on 7890 by default (
EXPOSEand theCMDof both stages), aswetterdienst restapidoes outside Docker, andcompose.ymlpublishes 7890 and reaches the backend there; it was 3000. A deployment that maps3000:3000or asks the container for port 3000 maps3000:7890(or7890:7890) now, or starts it with--listen 0.0.0.0:3000(GH-3106)Breaking:
aemet/observation: a rate limit that outlasts the retries (an HTTP 429 or anestadoof 429 in the envelope) raises aDownloadErrornaming the file, the 429 as its__cause__; the REST API answers a 502. It was logged and the chunk skipped, so a rate-limited request returned a partial or empty result as if AEMET had no data. CatchDownloadError(orUpstreamError) to keep going, and retry later (GH-2989)Breaking: a remote listing (
list_remote_files_fsspec,list_remote_directory_fsspec, so every provider that lists) whose connection is reset or dropped, whose body stops arriving, that times out or that is refused with an HTTP status raises aDownloadErrornaming the URL, with the aiohttp error as its__cause__, not the raw aiohttp error (REST: 500, now 502 or 504). A code that caughtaiohttp.ClientError,OSErrororTimeoutErroraround a listing catchesDownloadError(orUpstreamError) now; a connection that cannot be made stays theNoInternetError(GH-3004)Breaking: the MCP endpoint (
/mcp/v1,/mcp) is stateless. It creates no session, sends nomcp-session-idand needs noinitializebeforetools/listortools/call;DELETEand theGETthat opens a server stream answer 405. A client that sends a session id is served as one without. The tools held no session state, so nothing else changes; a client that depended on being given a session id has to stop (GH-3088)Breaking: the rows of
valuesare estimated for a station whose record the provider does not publish too, so thatWD_RESTAPI_MAX_ROWSholds for a request without atimestamp: from 1950 for a dataset with historical data, two years back for recent data and two days for current data. Such a request used to be counted as no rows and can be a 400limit-exceedednow: give atimestampor useformat=ndjsonorcsv. Forecasts are not counted (GH-3089)A request that has not been answered within
WD_RESTAPI_TIMEOUTis no longer cancelled but left to end with its answer dropped, and it counts as being served until it has (seeWD_RESTAPI_MAX_CONCURRENT).GET /api/versionreportslimits.max_concurrent(GH-3089)
Fixed#
nws/observationfollows the pages of the endpoint (pagination.next) until the window has been read: a window of more than 500 observations, about 40 hours at a station’s 12 an hour, came back as its newest 500 with no warning. The last 5 days of KBOS are 121 hourly rows now, not about 40. A window costs one request per 500 observations (a week is five), a request without dates reads the endpoint’s whole week (GH-2994)The warning for a parameter a dataset does not have no longer offers the direction of the mean wind for the direction of a gust, nor the reverse:
meteofrance/observationhourly/corewind_direction_gust_max, no longer served (GH-2836), no longer suggestswind_direction_last_10min(GH-3009)eccc/observationlists a station formonthlyonly if the station list flags a monthly summary (HAS_MONTHLY_SUMMARYisY), no longer all 8435 stations: the 108 whose flag isNor empty have no monthly row, sofilter_by_rank,filter_by_distance,interpolateandsummarizefor monthly no longer pick them. Hourly and daily are unchanged (GH-3006)dwd/observationhourly/urban_windwind_direction: a 0 is null, withraw:0as the last token ofquality_flags, no longer returned as a bearing. The 1,288 zeros come at 0.1 to 1.6 m/s, never 0, and in the 410 of those hours with the six 10-minute values at hand the directions are spread over the compass (1 of the 2,460 is 0), so it is neither a calm nor north, which the file writes as 360. DWD has not been asked (GH-2809)dwd/observation: of a stamp that a file lists twice, a row with a value in some parameter wins over one with none, where the first row was kept:10_minutes/precipitationof station 03086 lists 1002 stamps of 1999-08-04 to 1999-12-31 twice, a reading and a-999placeholder, and 74 readings were lost (about 1000 when a second period is requested, which orders the rows by their values first). Two rows with a value, or two without, are settled as before (GH-2996)A query value that JSON has no number for (
distance=1e999,skip_threshold=nan) or a JSON mapping nested thousands of levels deep (unit_targets, the station distances) is a 422 problem, as any malformed value is, instead of a 500. What anerrorsentry repeats asinputis cut off below 16 levels of nesting (GH-3085)dwd/mosmixanddwd/dmono longer send an HTTP HEAD for a run the cache holds: the size for the progress bar is read from the cached file, so a cached run is read with no request at all (GH-3003)A
rankornum_additional_stationsthat no integer holds (rank=99999999999999999999) was a 500OverflowError; it is a 422 now, as one above 1,000,000 is (GH-3101)Docs that stated something the code does not do are corrected: the metadata example of the contribution guide named none of the provider fields (
name_short,country_code,license, …) thatbuild_metadata_modelrequires, so it raised; thelimit-exceededproblem of the REST API page lacked theinstanceandrequest_idevery problem has; the interpolation example gave kelvin where the default is °C; the DWD alerts page started the API on port 3000, not the default 7890. The pages’ code samples are now run by tests (GH-2621)More docs that stated what the code does not do: the station history page promised snapshots at a date and lifecycle events (a history has five sections,
name,parameter,device,geographyandmissing_data, and only DWD observation has one, the others raiseNotImplementedErroror answer 501), the data overview and DWD pages gave station counts that have drifted (“more than 5000” now) and left out the DWD networkspoi,derivedandalerts, and the README said the rest is tuned throughSettings, which isOptionsfor a request. The Python API page lists the keywords of every formatter (GH-2621)
Security#
wetterdienst restapistarted on a loopback--listen(127.0.0.1,::1,localhost, the default127.0.0.1:7890) answers to the loopback names only: anotherHostis a 400 problem of the kindhost-not-allowed, and an MCP request with anotherOriginisorigin-not-allowed, so a web page cannot reach a local server by DNS rebinding. A local server that is reached by another name setsWD_RESTAPI_ALLOWED_HOSTS(comma-separated names, a port optional,*.example.org) to its names; a server on any other address, or started otherwise, answers to every host unless it is set (GH-3087)At most
WD_RESTAPI_MAX_CONCURRENTrequests under/api(32 by default, 0 for no limit) are served at once; one past it is a 503 problem of the kindserver-busywithRetry-After. A request keeps its place until its handler is done, also after the 504 of the timeout, so the cap bounds the threads that requests leave running. Raise it for a host that is meant to serve more (GH-3089)/api/issues, the MCP toolissuesandwetterdienst issuesrefuse astationthat is not an id (letters, digits,_,-and, after the first character,., up to 32 characters) with a 422 problem, or a usage error on the command line. It was put into the path of the directory DWD is asked to list as it came, so..listed other directories ofopendata.dwd.de(GH-3084)/api/providersno longer puts the text of anImportErrorinto thewarningsof its answer, which could name a path of the server: it names the network and, for a missing module, the module. The text is in the server log (GH-3086)
0.158.0 - 2026-10-17#
Added#
The MCP endpoint is versioned like the REST API:
/mcp/v1is the endpoint to configure, and/mcpstays as an alias of the current version, the same endpoint with the same tools and sessions. A breaking change of a tool will come with/mcp/v2, and/mcp/v1keeps serving for at least two minor releases.GET /api/versionreportsmcp_path(/mcp/v1) andmcp_alias_path(/mcp),nullwithout the[mcp]extra; the index page lists/mcp/v1. Nothing a client has configured at/mcpchanges (GH-3074)Settings(...)is checked byty, mypy and pyright field by field: a misspelt setting (Settings(cache_dsable=True)) or a value of the wrong type is reported where it is written, not as aValidationErrorat run time. Nothing changes at run time (GH-3042)The dictionaries that the results return have public names to annotate a function with:
StationsDict,StationsOgcFeatureCollection,ValuesDict,ValuesOgcFeatureCollection,InterpolatedValuesDict,InterpolatedValuesOgcFeatureCollection,SummarizedValuesDict,SummarizedValuesOgcFeatureCollection,HistoryDictandResultMetadata, importable fromwetterdienst.model.resultinstead of the underscored classes they are aliases of (GH-3046)GET /api/providers,wetterdienst about providersand the MCP toolproviderssay what each provider is: names (name_short, English, local), country (country_code, ISO 3166-1 alpha-2),license,attribution, and its networks with their kind, source URL, whether they need credentials and the resolutions and datasets they offer. Nothing is downloaded or probed. A network declaration has to givecountry_codenow, null for a provider of several countries (GH-2565)With
with_metadata=true,metadata.quality.legendsays what each kind ofquality_flagstoken means for the network read (zone:,validity:,raw:, …), with the codes where the source documents a closed set (GH-3060)The REST API and the MCP tools refuse a request that would return more than the server allows, with a 400 problem of the kind
limit-exceededbefore anything is downloaded: it names thelimit, itsmaximumand what the request comes to (requested), and how to narrow it. The limits are the stations of onevaluesorhistoryrequest (100), the estimated rows of an answer sent as one body (500,000) and of a streamed one (10,000,000), set withWD_RESTAPI_MAX_STATIONS,WD_RESTAPI_MAX_ROWSandWD_RESTAPI_MAX_STREAM_ROWS; 0 is no limit (GH-3065)stationsandvaluesanswerformat=ndjson, and theirformat=csvis streamed too, station by station instead of held in memory. NDJSON is themetadatablock, a line for each row and anendline with the counts and every warning, or anerrorline if a later station fails; the CSV carries the block in its headers.wetterdienst stationsandvaluestake--format=ndjsonand write the same lines (GH-3065)A request is held to one timeout,
WD_RESTAPI_TIMEOUT(60 seconds, 0 for none): the 504 problemrequest-timeoutwithRetry-Afterif it is not answered by then. A stream is held to it between two chunks. What was fetched is cached for the retry (GH-3065)Every problem has a
typeof its own,urn:wetterdienst:problem:<kind>(listed in the REST API docs), aninstanceand arequest_id, and every response anX-Request-IDheader, the client’s own if it sends a plain one. A 502, 503 or 504 carriesRetry-After. A response to a request that uses something deprecated carriesDeprecation,SunsetandLink; the policy is in the docs (GH-3065)GET /api/versionreports thelimitsof the instance:max_stations,max_rows,max_stream_rowsand thetimeoutin seconds, 0 for none, so a client can size its requests before one is refused (GH-3078)
Changed#
The answers of
issues,alertsand the threestripesendpoints carry themetadatablock too, over REST, on the command line and in the MCP tools.stripes/stationskeeps theproviderandproducerit had, and the GeoJSON ofalertshas it as a foreign member. These andhistoryare in the OpenAPI document with a response model now; the MCP toolsalertsandstripes_*, whose model is a union with text for CSV, answer{"result": ...}asstationsdoes; read the answer fromresult(GH-3059)Results compare by what they hold:
result == otheris true for two results of the same class whose frames have the same columns, dtypes and values in the same order and whose other fields (the request, the point of an interpolation) are equal. It raised polars’ “truth value of a DataFrame is ambiguous” before. A result stays unhashable (GH-3037)AEMET asks again once when it answers a 401 (or an
estadoof 401) to the key, which it accepts on the next request, and raisesCredentialRejectedErroronly when it refuses it twice (GH-3022)Breaking: a
metoffice/observationtoken exchange with CEDA that does not answer (a timeout, a dropped connection, a 5xx, a TLS failure) raisesDownloadError, where it was a warning and an empty result. CatchDownloadError(orUpstreamError) where you relied on the empty frame (GH-3022)Breaking:
noaa/ghcnhourlyreturns one reading for each parameter and full hour, the one nearest to the hour (a parameter a SPECI lacks is read from the report that has it), stamped with the hour: the METAR of 14:53 is 15:00. It returned every report of the file under its own minute, up to seven an hour at Denver, whichinterpolate,summarizeandskip_emptycould not find on the full-hour grid. The minute of a report is not returned; read the GHCNh file for it. The precipitation of source 412 (FM94_1) stays, markedsource:412; it does not agree with the station’s gauge, see the provider page (GH-3000, GH-3016)rmi/observationsun_durationof station 6477 is null, with the source’s value asraw:<value>inquality_flags, from 2016-04-30 to 2017-05-31 (a stuck sensor, 13 days of exactly 1,440 minutes among them) and in two summers of zeros (2015-04-25 to 2015-08-19, 2017-06-02 to 2017-09-19), in all three resolutions; they were returned as readings. See the provider page (GH-3031)Breaking: the answer of
stripes/valueshas thestation,resolution,dataset,parameterandunitof its values in aseriesmember, no longer inmetadata, which is only the metadata block, as for every other endpoint. Readanswer["series"]["unit"]where you readanswer["metadata"]["unit"]; the same for the other four, in the MCP toolstripes_valuestoo (GH-3076)Breaking:
valuesrefuses more than 100 stations (all=trueon a network of more), and any answer over the row limits above, with the 400limit-exceeded. Request fewer stations or a shortertimestamp, useformat=ndjsonorcsvfor a long answer, or raise the limits on your own server with the settings above (GH-3065)Breaking: the
typeof a problem was alwaysabout:blank; it names the kind of error now,urn:wetterdienst:problem:<kind>. Branch on it instead of on the text ofdetail(GH-3065)Breaking: a network without station history (
/api/history) and an/api/issuesfor a network that lists none answer 501, where they answered 404 and 400: aNotImplementedErroris now decided byfailure_statuslike every other failure (GH-3065)The CSV of
stationsandvaluesis sent in chunks, the same bytes as before, and without theX-Wetterdienst-Rowsheader, which the rows are not known for as the headers go out (GH-3065)
Removed#
Breaking:
summarizeno longer takesuse_nearby_station_distance(deprecated since 0.140.0, it was read by nothing):--use-nearby-station-distanceofwetterdienst summarizeis an unknown option, and the REST API (a 422) and the MCP tool refuse the parameter. Leave it out; a summary takes the nearest station with data.interpolatekeeps its own (GH-3077)Breaking:
StationsResult.get_metadata()is gone: it was themetadatablock of the REST, CLI and MCP formats, which a result writes underwith_metadata=Trueinto_dict,to_jsonandto_geojson. Read those, orrequest.metadata(aMetadataModel, with the licence atrequest.metadata.license) for the provider andInfo().to_dict()for the library (GH-3047)Breaking:
TimeseriesValuesno longer has the attributesstations_counterandstations_collected, nor takes them as constructor arguments.query()kept them for nobody; the stations a query returned are in thestation_idcolumn of the results (GH-3037)
0.157.0 - 2026-10-17#
Added#
Every JSON and GeoJSON answer of
stations,values,interpolate,summarizeandhistory, over REST, on the command line and in the MCP tools, carries ametadatablock, with or withoutwith_metadata: the provider’slicense(SPDX identifier, name, URL; null where it states none) andattribution, the request as resolved,retrieved_at,counts,crs,warnings(each with a stablecode: an unknown station id, a skipped station, …),api_versionandschema_version.with_metadata=trueadds the unit of each parameter and whatquality_flagsholds. The library has the licence atrequest.metadata.license(GH-2561)Those answers, CSV and images included, carry the same in the headers
X-Wetterdienst-API-Version,-Schema-Version,-Retrieved-At,-Provider,-License,-Attribution,-Stations,-Rowsand-Warnings, and aLink: <licence>; rel="license"(GH-2561)The
metadatablock says the licences as the providers state them: CHMI is CC BY 4.0 and NOAA GHCN CC0 1.0, IMGW and IPMA have terms of their own (license.spdx_idnull, with the name and the link of the terms; IMGW’s credit line is the Polish sentence its terms prescribe), and DMI links its terms of use, as its documentation host answers 404.request.stationshas acountand listsidsfor up to 100 stations, elseidsis null; read the ids from the body (GH-3061)
Changed#
wetterdienst stationsno longer takes--lead-timeand--issue, which 0.156.0 added, and the MCPstationstool no longer takeslead_timeandissue: they never changed the list, the run being chosen forvalues. Drop the flag or argument, or pass it tovalues;wetterdienst stations --lead-time=...now fails with click’sNo such option, and a tool call with either with a tool error (GH-3056)Breaking:
/api/stationsno longer takeslead_timeandissue: a request with either is a 422, as for any parameter the endpoint does not know. They never changed the list. Leave them out of the request, or send them to/api/values, where the run is chosen (GH-3056, GH-3061)Breaking: a download that did not answer is a
DownloadError, where it was logged and read as no data, in themetno/frostvalues and the AEMET and KNMI station lists: a timeout, a dropped connection, a body cut short and a 5xx. A TLS failure (a certificate that does not verify) is one too, in those and in the AEMET, KNMI andsmhi/observationvalues. A 404, a 412 and any other 4xx but a refused credential stay the empty result. The REST API answers 502 (504 after a timeout) and the command line exits 1; catchDownloadError(orUpstreamError) where you relied on the empty frame (GH-3022)Breaking: a credential that the provider rejects (HTTP 401 or 403) raises
CredentialRejectedErrorin themetno/frost,aemet/observation,knmi/observationandmetoffice/observationvalues and in the AEMET, KNMI and Met Office station lists, as it does in themetno/froststations. It was an empty result with a warning, for Met Office also aDownloadError. The REST API and the MCP tools answer 501, the command line prints one line. A refused pre-signed link, which takes no credential, stays what it was; catchCredentialRejectedError(aPermissionError) where you relied on the empty result (GH-3018)The OpenAPI document requires
metadatain the answers ofstations,values,interpolateandsummarize, and the component schemas of the stations answer are_StationsWithMetadataDictand_StationsWithMetadataOgcFeatureCollection, no longer_StationsDictand_StationsOgcFeatureCollection; a client generated from the document names its types after them. A provider’s metadata declaration has to givelicenseandattribution(Nonewhere the provider states none), orMetadataModelrefuses it (GH-2561)
0.156.0 - 2026-10-16#
Added#
wetterdienst stationstakes--lead-timeand--issue, asvaluesdoes and/api/stationsalready did;interpolateandsummarizetake--min-gain-of-value-pairsand--num-additional-stations, which their endpoints took asmin_gain_of_value_pairsandnum_additional_stations;stations,values,interpolateandsummarizetake--width,--heightand--scalefor a chart, andstripes stationstakes--debug. A request has the same parameters on the command line, over REST and in the MCP tools (GH-2561)The REST API is served under
/api/v1/..., and the OpenAPI document describes that prefix./api/...stays, an alias of the current version with the same handlers and not deprecated, so a client of/apichanges nothing./api/versionreportsapi_version("1"). The operation ids and the MCP tool names do not change (GH-2561)
Changed#
Breaking: the siblings of
eccc/observationmonthlymean_temperature, which ECCC builds from the daily (max + min) / 2:days_with_valid_mean_tempiscount_days_valid_temperature_air_mean_minmax_2m, no longercount_days_valid_temperature_air_mean_2m, andnormal_mean_temperatureistemperature_air_mean_minmax_2m_normal, no longertemperature_air_mean_2m_normal. Request the new names; the old ones are not found and say what they are called now (GH-3017)Breaking:
dwd/observationhourly/precipitationprecipitation_form(wrtr) 9, DWD’s “Missing value, Type of precipitation unascertainable”, is no longer returned as the code 9: the value is null and the 9 is the last token ofquality_flags(3,raw:9). Read the null as an unknown form, andraw:9where the code matters; the form codes left are 0, 1, 2, 3, 4, 6, 7 and 8 (GH-2703)Breaking: a parameter that takes a list is plural on the REST API, the MCP tools and the command line.
stationofstations,valuesandhistoryisstations(--stations); the other lists (parameters,periods,resolutions,datasets) were plural already, and their singulars are now refused with an error naming the plural, asstationis (station was renamed to stations). Renamestationin your requests; the one referencestationofinterpolateandsummarize, and that ofissuesandstripes, stay (GH-2561)Breaking: the options of the command line are spelled with hyphens, as the parameters of the REST API and the MCP tools are spelled with underscores:
--convert-units,--unit-targets,--sql-values,--skip-empty,--skip-criteria,--skip-threshold,--drop-nulls,--if-exists,--with-metadata,--with-stations,--lead-time,--start-year,--end-year,--name-threshold,--show-title,--show-years,--show-data-availability,--wmo-code,--country-name,--use-nearby-station-distanceand--interpolation-station-distance*and--summary-station-distance*. The underscored name is refused with an error naming the hyphenated one; replace the underscores in your scripts (GH-2561)Every boolean option of the command line is one option: bare it is on, and it takes
=trueor=falsein the spellings REST accepts (true,1,yes,on,t,yand their opposites).--all,--debug,--dwdand--reloadwere flags that took no value, and now take one, and--with-metadataand the other options that wanted a value can be given bare (GH-2561)A station selection made twice, or not at all, names the alternatives in the refusal on every surface:
Cannot be combined with name, give exactly one of all, stations, name, (latitude and longitude), (left, bottom, right and top) or sqlin the 422 and the tool error, and the same in the options’ names in the usage error of the command line (GH-2561)The OpenAPI document describes a list query parameter as one comma-separated value (
?stations=01048,04411,explode: false), which is how the endpoints and the tools take it. The key given more than once is still read, and no longer documented (GH-2561)Breaking: the precipitation group of a METAR,
noaa/ghcnhourlyprecipitationandnws/observationprecipitationLastHour, isprecipitation_amount_since_last_routine_report(new), no longerprecipitation_amount: a running total since the last routine report, which a routine report holds for the whole hour and a SPECI for the part that had fallen. Request the new name; the old one raisesInvalidParameterErrorin those datasets, which says what it is called now.noaa/ghcnhourly returns this precipitation for one report of each UTC hour, the one at the station’s routine minute (:53at LAX), else the last that is no SPECI, no longer for every report; its other elements keep every report (GH-2841)Breaking:
StationsResult.stations, which held the request and not stations, isStationsResult.request, and thestations=argument ofStationsResult(...)isrequest=; the stations were and are in.df. The old name raises an error that names the new one. Writestations.request.settings, notstations.stations.settings, andvalues.stations.requestfor the request behind a values result (GH-2626)Breaking:
StationsResult.valuesand.history, which built a new reader on every access, are methods. Writestations.values().all(),stations.values().query(),stations.values().to_target(...)andstations.history().query()where you wrotestations.values.all()and so on; reading either as an attribute raises an error that names the call (GH-2626)Breaking: the results are frozen, so assigning to
result.dfraisesFrozenInstanceError.filter_by_dateandfilter_by_sqlon a result, which replaced its frame and returned the frame, arefiltered_by_dateandfiltered_by_sql, which return a new result and leave the old one as it was; the old names raise an error that names the new. Writevalues = values.filtered_by_sql(sql), and.dfwhere you used the returned frame (GH-2626)Breaking:
ValuesResultno longer holds the reader that produced it, soresult.valuesand thevalues=argument are gone, and a result you keep no longer keeps its reader, with whatever it cached, alive. Get a reader fromstations.values().df_stationsof aValuesResultnow names the stations with a row in the frame, so it followsfiltered_by_sql, andInterpolatedValuesResultandSummarizedValuesResulthave it too (GH-2626)The return types of
Wetterdienst.discover(),TimeseriesRequest.discover()andInfo.to_dict()are typed dicts, no longerdict[str, Any], so a type checker followsdiscover()["dwd"]["observation"]["kind"]andrequest.discover()["daily"]["datasets"]. TheCoverage*types of the REST API (CoverageNetwork,CoverageResolution,CoverageDatasetandCoverageParameter) moved towetterdienst.model.metadata; import them from there.StationsResult.requestis typedTimeseriesRequest, no longer a union with the two forecast requests.Settings.fsspec_client_kwargsand thesettingsandoptionsof a request aredict[str, Any], so the keys offsspec_client_kwargsmust be strings (GH-2622)Breaking:
to_geojson,to_ogc_feature_collectionandto_plotof the results take the arguments they declare and no others. They accepted any keyword and dropped it, soto_geojson(with_metdata=True)wrote a document without metadata; it is aTypeErrornow, and a type checker reports it.to_imagetakesfmt,width,height,scaleandmax_sideand no others. Fix the name or drop the argument.to_format(fmt, **kwargs)still takes one set of arguments for any format and gives each format those it takes, so the command line, REST and MCP are unchanged;to_csvstill passes its keywords to polars (GH-3043)Breaking: the results (
StationsResult,ValuesResult,InterpolatedValuesResult,SummarizedValuesResultandHistoryResult) are built by keyword only.ValuesResult(df, stations)is aTypeError: writeValuesResult(stations=..., df=...). The library builds them, so only code that constructs one by hand is affected (GH-3044)Breaking:
Wetterdienst.resolveis for the timeseries networks and is typed so.dwd/radaranddwd/alerts, whose classes are noTimeseriesRequest, are refused with anApiNotFoundErrorthat names their own entry point,Wetterdienst.resolve_standalone("dwd", "radar"), which is typed to the exact class for literal names; or import the class.Wetterdienst.standalonelists them andWetterdienst.is_standalone(provider, network)tells (GH-3045)
Deprecated#
Wetterdienst(provider, network)warns with aDeprecationWarningand still returns the class of either kind of network. UseWetterdienst.resolve(provider, network), orresolve_standalonefordwd/radaranddwd/alerts(GH-3045)
Fixed#
mypy read
DwdObservationMetadataand the other<Provider>Metadataof the provider modules as a dict, andDwdObservationRequest.metadatawith it, soDwdObservationMetadata.daily.klwas an error in a type-checked program (pyright and ty were not affected); the dict a provider declares has a private name of its own now, and the public name is the model (GH-2622)Breaking: a data provider that failed is no longer a 500. An
UpstreamErroris a 502 (a download that was refused or cut short, a file the parser does not expect) or, after a timeout, a 504;NoInternetErrorstays a 503. The body is a fixed sentence that says the request was valid. Retry a 502, 503 or 504, and read a 500 as a defect of the server./api/alertsdecides as every endpoint does, by the exception’s class, so aNotFoundErroror aConfigurationErrorraised there is a 404 or a 501, and a plainValueErrorout of the provider is no longer taken for the caller’s mistake (GH-2561, GH-2985)Breaking:
DwdWeatherAlertRequestraisesDownloadErrorfor a snapshot that did not download or is no zip archive, where it raisedOSError: catchDownloadError(orUpstreamError). A granularity, language or timestamp it cannot read is aRequestError, still aValueError(GH-2985)An exception that no endpoint handled reaches an MCP tool as the 500 the REST API answers, the fixed sentence naming its type, and no longer as the tool error carrying the exception’s own text, which could name a path of the server (GH-2984)
Breaking:
/api/stationsand the MCPstationstool no longer takewith_stations, which they accepted and ignored: a listing of stations is the stations. A request that still sends it is a 422; drop it.historyand the value endpoints keep it (GH-3034)A client ID that Frost rejects (HTTP 401 or 403) raises
CredentialRejectedError, aConfigurationErrorthat is still aPermissionError. The REST API and the MCP tools answer 501 “The provider rejected the credential of this server for metno/frost” and log the setting, no longer a 500 that namesWD_AUTH__METNO_FROST; the command line prints one line and exits 1, without a traceback (GH-2665)Wetterdienst.discover(),/api/coverageandwetterdienst about coverageleave out a network that cannot be imported (a broken install) and a provider with no network left, and log why; they listed it as needing no credentials. Asking for that network by name still tells the import error (GH-2800, GH-2801)
0.155.0 - 2026-10-16#
Added#
WetterdienstErroris the root of every class ofwetterdienst.exceptions, soexcept WetterdienstErrorcatches them all. Below itRequestError(aValueError),NotFoundError(aLookupError),ConfigurationError,UpstreamErrorandExportRefusedErrorsay what kind of failure it is; all six are importable fromwetterdienst. Every class keeps the built-in classes it had (ValueError,OSError,FileNotFoundError,IndexError,ImportError), so an existingexceptstill catches it. New:StartDateEndDateErrorandImageTooLargeErrorare alsoValueErrors, andProviderNotFoundError,StationNotFoundErrorandApiNotFoundErrorare alsoLookupErrors (GH-2634)Wetterdienst.discover(),/api/coverageandwetterdienst about coveragewithout arguments give every network aname_short,country,urlandkind.kindisobservation,forecastorderivedfor a timeseries network, which has stations and values, andradaroralertsfordwd/radaranddwd/alerts, the standalone networks thatstations,valuesand the other timeseries endpoints refuse (GH-2641) the other timeseries endpoints refuse. The four are null for a network that cannot be imported (GH-2641)stations(/api/stations, the MCP tool andwetterdienst stations) takes the windowvaluestakes, astimestampor, on the command line,--start/--end, and lists only the stations whose record overlaps it, so the nearest three are no longer ones that closed a century ago. A station is left out when it started after the window or ended before it by more than two readings of its resolution (two days up to daily, as the end an index states lags a station still reporting); one whose start or end is not published is kept. Without a window nothing changes (GH-2635)
Changed#
Breaking: the REST API answers every error, a 400, 404, 422 or 500, as an RFC 9457 problem (
application/problem+json):type,title,statusanddetail, which is always text. A 422 put pydantic’s list underdetail; the list is nowerrors, anddetailis its lines as text. Readerrorsfor the invalid parameters, anddetailfor a sentence. The MCP tools show the text ofdetailin their errors, no longer a Python dict (GH-2634, GH-2561)Breaking: the REST API answers a
NotFoundErrorwith a 404: a station/api/stripes/valuesand/api/stripes/imagedo not know, and a forecast run (issue) the source does not list on/api/values,/api/interpolateand/api/summarize, were a 400. Which answer a failure gets, here and in the command line, follows from its class (RequestError400,NotFoundError404,ConfigurationError501, any other 500), so aWetterdienstErrorof a new class is a server error until it is given a kind (GH-2634)wetterdienst.model.schemaexports the schema of every public frame as an object to assert against:STATIONS_SCHEMA,LONG_SCHEMA,WIDE_SCHEMA(withwide_schema(names)for the parameters’ columns),INTERPOLATED_SCHEMAandSUMMARIZED_SCHEMA.HistoryResultandTimeseriesHistoryhaveto_dictandto_json, the body that/api/historyand thehistorycommand answer with (GH-2633)Breaking:
station_id,resolution,datasetandparameterof.values.all().dfareString, as they already were in an empty, an interpolated and a summarized result, and inquery(); they were polarsEnumwith the categories of each result, which did not join a stations frame, concatenate across requests or takeis_inwith an absent name. Drop the casts back toString; code that read theEnum’s categories takes them from the data (GH-2633)Breaking: every timestamp in a JSON, GeoJSON or CSV body is written the way values wrote it, ISO 8601 in UTC to the microsecond,
2026-09-01T00:00:00.000000+00:00. History (valid_from,valid_to), alerts, issue lists and climate stripes wrote1926-05-01T00:00:00+00:00, and the CSV of alerts and stripes1926-05-01T00:00:00.000000+0000. Read them with a parser that takes a fraction, asdatetime.fromisoformatdoes (GH-2633)The parameter columns of a wide values frame are in the order the request names its parameters, as an empty frame has them, not in the order the source delivered its rows in. A parameter no station delivered has no column in a populated frame (GH-2633)
Breaking:
nws/observationhourlyreturns one observation for each station-hour, stamped with the full hour, no longer the 12 an hour the endpoint serves (5-minute ASOS rows, METAR, SPECI). The kept one is the METAR or SPECI report nearest to the full hour, normally the METAR at :51 to :54; an hour with no report keeps its nearest 5-minute row. The 5-minute rows and the minute of a report are no longer available; readapi.weather.govfor them. Precipitation is a running total since the last routine METAR and the winds are 2-minute means; a SPECI nearer the full hour than a synoptic METAR takes its 3- and 6-hour amounts with it, see the provider page (GH-2857)meteofrance/observationstations have aregion, the code of their département as the registry lists it, with two digits (09) or three overseas (972); it was null. Corsica’s two départements are both20, as in the registry (GH-2019)Breaking: the listing of every network (
Wetterdienst.discover(),/api/coverageandwetterdienst about coveragewithout arguments, the MCPcoveragetool) no longer hasvalid. It wastruefor a network without credentials,falsefor missing ones and null for present ones, never checked. Readconfigured, and ask/api/auth,wetterdienst about authorWetterdienst.is_valid(api)whether a provider accepts the credentials of one network (GH-2641)Breaking: the resolution
6_houris6_hours(Resolution.HOUR_6.value,metno/frost), as10_minutesis. The old value is not accepted: a6_hour/dataparameter raisesInvalidParameterError(which says it was renamed), andgeo_station_distance_resolution_factors={"6_hour": ...}is refused with the new one named. Write6_hours/datafor Frost and{"6_hours": 1.5}for the factors (GH-2641, GH-2561)dwd/observationhourly/sunquality_flagscarryzone:woz(10,zone:woz) for a stamp of a period that DWD’sMetadaten_Parametercalls “Stundenwerte in WOZ”: the station’s local true solar time, not UTC, at 528 of 636 stations, at 172 of them past 2001-03-31 (to 2006). Stamps and values are unchanged, as the offset is no whole hour; filter the flagged rows out, or shift them by the longitude and the equation of time yourself (GH-2816, GH-2617)Breaking:
dwd/poiwind_speed_rolling_mean_max_yesterdayis namedwind_speed_rolling_mean_max_last_6h: DWD’s “previous day” column is carried at 00, 06, 12 and 18 UTC and is the maximum of the 6 hourly values up to the stamp, not a value of the previous day. Request the new name; the old one raisesInvalidParameterError, which says what it is called now (GH-2817)dwd/observationhourly/urban_windwind_direction: the description says that its 0, which comes with 0.1 to 0.8 m/s and never with 0, is returned as 0 because DWD does not state whether it is a calm or north, unlike the calm of10_minutes/urban_windthat is null (GH-2809)Breaking: the strongest gust of the last 10 minutes is
wind_gust_max_last_10min(new), no longerwind_gust_max, which is the strongest gust of the row’s interval:fmi/observationhourlywg_10min,meteofrance/synopsubdailyraf10,metoffice/observationhourly weatherq10mnt_mxgst_spdandnws/observationwindgust. Request the new name; the old one raisesInvalidParameterErrorin those datasets, which says what it is called now.meteofrance/observationhourlyDXY(wind_direction_gust_max), the direction of the hour’s highest 10-minute mean and of no gust, is no longer served.wind_gust_maxstays for every gust of an interval (GH-2836)Breaking: the 2-minute averages of the wind are
wind_speed_last_2minandwind_direction_last_2min(new), no longerwind_speedandwind_direction:nws/observation(the ASOS’s 2-minute averages) andeccc/observationhourly direction (ECCC: “the average direction during the two minute period”). Request the new names; NWS’s old ones are not found, and ECCC’swind_directionstill selects its row, which comes back namedwind_direction_last_2min. ECCC’s speed (one-, two- or ten-minute),dwd/road(10 minutes in some station groups, 15 or none in others) andnoaa/ghcn(GHCNh states no window) keep their names (GH-2837, GH-2838)Breaking:
dwd/mosmix(small, large) anddwd/dmo(icon, icon_eu)pppp, DWD’s “Surface pressure, reduced”, ispressure_air_sea_level, no longerpressure_air_site_reduced: it is reduced to sea level (Hamburg and Munich-Flughafen agree with the sea-level pressure of their reports within 1 hPa).nws/observationbarometricpressure, the METAR altimeter setting (A#### x 33.86389 Pa, KATL at 315 m reads 101.8 kPa), ispressure_air_site_reduced, now described as reduced to sea level with the standard atmosphere, no longerpressure_air_site(the station’s pressure). Request the new names; the old ones are not found in those datasets (GH-2840, GH-2842)Breaking:
dwd/mosmixlargerrad1isradiation_global_relative_last_1h(new), the global radiation of the last hour relative to that at the top of the atmosphere, no longerprobability_radiation_global_last_1h.dwd/poipast_weather_1andpast_weather_2areweather_pastandweather_secondary_past(new): their window is 6 hours in the reports of 00, 06, 12 and 18 UTC and 3 hours in the others, notweather_last_3handweather_secondary_last_3h.dwd/swsmosRR6, DWD’s liquid precipitation of the last 6 hours, isprecipitation_amount_liquid_last_6h(new), no longerprecipitation_amount_last_6h. The retired names answer with the one to use (GH-2843, GH-2844, GH-2845)Breaking:
rmi/observationtemp_grass_pt100_avg, RMI’s “average temperature measured on the grass” (10 minutes, hourly, daily), istemperature_surface_mean, a surface temperature, no longertemperature_air_mean_0_05m. Request the new name (GH-2846)Breaking: the daily totals of potential evapotranspiration,
meteoswiss/observationdailyerefaod0anddwd/deriveddailyvpgfaoandvpgh, areevapotranspiration_potential_grass_faoandevapotranspiration_potential_grass_haude, as the monthly ones are, no longer the_last_24hnames, which no source serves now and which stay for one that publishes a trailing 24 hours at a sub-daily timestamp. Request the plain names (GH-2847)The
restapiextra needsstarlette>=1.3(was>=0.46): the first release whose test client takeshttpx2. A host that pins an older starlette upgrades it (GH-3013)Breaking:
aemet/observation,knmi/observationandsmhi/observationvalues raise aDownloadErrorfor a download that timed out, was dropped, was cut short or came back as a 5xx (for AEMET also anestadoof 500 or more), as every other provider does, where they logged a warning and answered an empty frame that read as a station without data. A 404 stays the empty result, as does a 429 or another 4xx. The REST API answers 500 and the command line exits 1. CatchDownloadError(orWetterdienstError) where the empty frame was relied on (GH-2965)Breaking: the mean that a source computes as (maximum + minimum) / 2 is
temperature_air_mean_minmax_2m(new), no longertemperature_air_mean_2m:eccc/observationdaily and monthlymean_temperatureandgeosphere/observationdailytl_mittel. Request the new name; the old one raisesInvalidParameterErrorin those datasets, which says what it is called now. Geosphere monthlytl_mittelkeepstemperature_air_mean_2m(GH-2839)Breaking: an empty result is exit 0 on the command line, as it is a 200 on the REST API: a window without readings, a selection that finds no station, a glossary filter that matches nothing. The sentence goes to stderr and stdout holds what the REST API answers (
{"values": []}, the CSV header); a--targetis left as it is. It exited 1, as a failure does. A script that told “no data” by exit 1 tests the output, or the sentence on stderr; exit 1 now only means failure (GH-2635)Breaking: a
nameselects its one best match invalueson the command line, the REST API and MCP, asfilter_by_namedoes; it selected the best five, and read the values of all five.stationsstill lists the best five. Pass--rankorrankfor another number,rank=5tofilter_by_namefor the listing’s (GH-2635)A list of station ids (
filter_by_station_id,--station,station=) leaves out an id the network has no station for as before, and now names it in a warning; where none exists the result is empty on every surface. The one reference station ofinterpolateandsummarizekeeps its 404 and exit 2 (GH-2635)The command line renders a result through the function the REST API does: with
--with_metadata=trueits JSON and GeoJSON carry thesettingsblock next tometadata, as the REST API’s did.--prettyis one option on every command, bare or as--pretty=true;interpolateandsummarizetook it only bare, the others only with a value (GH-2635)
Removed#
Breaking:
dwd/mosmixlargeno longer declaresh_bsc,rr1,rr3,rr6,rrh,rrd,rads3andradl3, which MOSMIX-L never delivers (none of the 114 elements of its 5648 stations); a request that named one got an empty frame and is now logged and dropped, or raisesNoParametersFoundErrorwhen no other parameter is requested. Drop them from the request; MOSMIX-L’s precipitation totals arerr1c,rr3c,rr6c,rrhcandrrdc. The description ofsund3says it is not a sliding 3 hour total (GH-2851)
Fixed#
noaa/ghcndaily: 9 more stations, in the UK (Hull, Rothamsted, Wisley, …), Algeria (Oran, Sidi Bel Abbes) and France (Espoey), are placed west of Greenwich, no longer east of it, whereghcnd-stations.txthas lost the sign of their longitude. They were 25 to 144 km off, so a nearest-station search or an interpolation near them picked the wrong stations (GH-2886)eccc/observationlists a station forhourly(daily) only if the station list gives it aHLY_FIRST_DATE(DLY_FIRST_DATE): 1685 of 8435 stations for hourly, 8340 for daily, no longer all of them, as the others have no row there.stations,filter_by_rankandfilter_by_distancehold only listed stations, andinterpolate_by_station_idandsummarize_by_station_idraiseStationNotFoundErrorfor an unlisted one: pass its coordinates instead. The hourly rows of 27490 (2008, after itsLAST_DATE) are no longer returned, not even for a request with dates (GH-2867)Breaking: a request made without a network connection raises
NoInternetError, naming the URL with the connection error as its__cause__, for every provider, for station catalogues and file listings as for values. It was an empty frame, or fordwd/observationa bareFileNotFoundError: ... does not have a list of files, which a scheduled job could not tell from a source with no data;knmi,aemet,lhmtanddmireturned the values read before the connection dropped, and now raise. A source that answers badly is still aDownloadError. CatchNoInternetErrorwhere an empty result is wanted offline. The REST API answers 503 (retryable), the command line exits 1 with one line (GH-2640)Breaking: a parameter the provider does not have, or one not shaped like a parameter, raises
InvalidParameterError(aRequestError, a 400 over REST) naming each with its close match; it was logged and skipped, so the result held fewer parameters than asked for without saying so. Fix the name, or passon_unknown="warn"to the request for the old behaviour. A request where none resolves raises it as well, no longerNoParametersFoundError; catchRequestErrorfor both (GH-2636)Breaking: bad inputs are refused where they were answered with less or with an unrelated error.
discover()raisesMetadataNotFoundErrorfor a resolution or dataset the network does not have (a 404 on/api/coverage, a usage error onabout coverage), not{};Wetterdienst.get_network_names("foo")raisesApiNotFoundError, notKeyError; a date that is neither astrnor adatetime(start=2020) raisesTypeError, notAttributeError. CatchNotFoundErrororLookupErrorinstead ofKeyError. Also, anInvalidEnumerationErrorlists the valid values,(Resolution.DAILY, "kl")works as("daily", "kl"), andendwithoutstartstays one instant, asstartalone is, now documented (GH-2636)dwd/observationhourly/moisture:pressure_air_site(P_STD) is null in a file that holds one value in each of at least 500 readings, which is the pressure of a station without a barometer and no reading (761 of the 1314 files hold one value, e.g. 997.3 for station 14072); the value stays as the lastquality_flagstoken,raw:997.3. A constant that changed once in a file is not caught. Take the pressure of another source for such a station (GH-2699)A value outside the physical range of its parameter, which no sensor can have produced, is null, with the source’s number (
raw:4021) as the last token ofquality_flags, no longer a reading:rmi/observation(a dailytemp_maxof 4021 degrees, atemp_avgof 110, a humidity of -6999 %, a gust over 60 m/s such as the 81.5 of 6414 on 2003-10-09, 13,851 minutes of sunshine in a day) anddmi/observation(rain over 500 mm in a day, such as 1978 and 989 mm at 04339, over 1,500 mm in a month, over 4,000 mm in a year, the largest amounts of a day over 500 mm). The bounds are generous and rain and sunshine have one per resolution, so a merely odd value stays: a year of 3,253.4 mm of DMI is below its bound, and itsvalidity:falsetells; the long shape drops the null rows unlessdrop_nulls=False(Part of GH-2797)dwd/observation5_minutes/precipitationhistorical: the row stamped 200001010000 that every December 1999 file holds as its first row is dropped. It is not the missing 23:55 MEZ reading but an incomplete copy of the 00:00 UTC row, which the January file has whole, and it was returned at 23:00 UTC, where no reading is (GH-2827)dwd/observation10_minuteshistorical: of the stamps 1999-12-31 23:00 to 23:50 MEZ that the file of 1999 lists twice (precipitation, extreme_temperature, extreme_wind), the row kept at 22:00 to 22:50 UTC is the one that is not a copy of a row of the 2000 file; the copy of 00:00 to 00:50 MEZ of 2000-01-01 was kept in 201 of 226 differing cases. A request that touches 22:00 UTC on that day now also reads the 2000 file (GH-2829)A failed lookup of a parameter by attribute (
dataset.klx) listed the dataset’squality_*flags under “Available parameters”, which iterating the dataset andcoverageleave out; they are left out of the list too (GH-2641)The explorer no longer offers
dwd/radaranddwd/alertsas networks to choose, which answer its coverage request with a 404 (GH-2641)The description of
noaa/ghcndailytavgsaid it was (max + min) / 2. It is GHCN’s own average daily temperature, an average of hourly readings (UTC day) from source ‘S’, and that is what the description now says;temperature_air_mean_2mstays (GH-2839)Breaking:
dwd/observationhourly/temperature_airhistorical: the stamps of periods that DWD’sMetadaten_Parametercalls “Stundenwerte in MEZ (MD)”, up to 1991 at 80 East German stations, are MEZ, not UTC, and are returned one hour earlier than before, per parameter (temperature_air_2m,humidity_relative), withzone:mezinquality_flags(3,zone:mez). Plain MEZ and UTC periods are unchanged. A change inside a shared day (36 stations on 1991-11-01) is taken to be after its stamp 00. Add an hour to flagged stamps to get the old ones; 30 rows that the shift puts on a stamp that is there are dropped (GH-2709)wetterdienst stations|values|interpolate|summarize --format=png|jpg|webp|svg|pdfwrote thereprof the image (b'\x89PNG...') to stdout; it writes the image as the REST API sends it (GH-2635)
0.154.0 - 2026-10-15#
Changed#
The Docker images run on Python 3.15 (was 3.14). Packages without a 3.15 wheel are built from source when the image is built, so a local or compose build takes longer (GH-2568)
Fixed#
Docs that stated a wrong fact are corrected:
wetterdienst.info()iswetterdienst cache; the DMOperiods==recentREST example is refused (DMO hasfutureonly); interpolation and summary work for any provider, not DWD alone; stripes read annual, not daily, observations; DMI needs no API key; the Docker image has theexport,knmiandmcpextras and noexplorer; the image is built fromdocker/Dockerfilewithout a wheel (GH-2621)Info().authors, and sowetterdienst infoand the REST index, are read from the installed package’s[project] authorsinstead of a copy that named another address for the first author (benjamin@eobs.org, notgutzemann@gmail.com). An author without a known GitHub account has an emptygithub_handleand no GitHub link on the index; a never-installed checkout has no authors (GH-2954)
0.153.0 - 2026-10-15#
Added#
Python 3.15 is supported (tested on 3.15.0rc1) and declared as a classifier. The
mcpextra needs beartype 0.23 or newer there (0.22 does not import on 3.15; fastmcp brings it in without a floor). h5py, duckdb, numcodecs and pyyaml, installed by theknmi/radar,sql,exportandrestapiextras, have no 3.15 wheel yet and are built from source: h5py needs the HDF5 headers (libhdf5-dev) (GH-2568)
Changed#
noaa/ghcnhourlyquality_flagsalso carry the file’s<element>_Measurement_Codeand<element>_Source_Code, asmeasurement:<code>andsource:<code>after the quality code and beforeraw:(5,measurement:T,source:335), as daily does. The source says which list a quality code is read in (4is “passed gross limits” for source 335, “calculated” for 223); the measurement code marks, by element, a trace of precipitation, a calm wind and the tendency of the 3-hour pressure change. The textNull, which sources 245 and 367 write for “no code”, is left out of the quality code too (it was returned as the flagNull) (GH-2925)Breaking:
ea/hydrologyquality_flagscarries the reading’scompletenessafter its quality,Good,completeness:CompleteorGood,completeness:Incomplete, whether the value is based on complete data. Daily readings carry it (not all of them); a reading without one, and every 15 minute reading, keeps the quality alone (Good). A filterquality_flags == 'Good'no longer holds for daily readings: usestr.starts_with('Good')(GH-2762)
Fixed#
wetterdienst restapion an install withfastapiand withoutuvicornnow prints thatuvicornis missing and topip install wetterdienst[restapi], in one line with exit status 1, no longer aModuleNotFoundErrortraceback (GH-2928)knmi/observation,aemet/observationandlhmt/observationvalues requests that go offline end at the first download answered with no connection, as the loop over files of one station already did: the stations and datasets after it are no longer tried, each waiting for the connection to fail, and so return nothing even where their files were already downloaded. What the station that found out had read is returned (GH-2620)knmi/observationhourlywind_direction_last_10minis null, no longer 990 or 0, where KNMI writes the code for a variable wind (990) or a calm (0); the code stays inquality_flagsasraw:990orraw:0. Only bearings (360 is north) are left as values (GH-2850)Breaking:
ea/hydrologyreturned the level of a river asgroundwater_level. The Environment Agency’slevel-*measures are river levels (2638 stations), sodaily/groundwater_level_maxand_minhad no groundwater behind them, and15_minutes/groundwater_levelheld rivers and no borehole. The river level is now15_minutes/stageanddaily/stage_maxandstage_min, in centimetres, no longer metres: request the new names (the old daily ones are not found) and multiply stored values by 100.15_minutes/groundwater_levelnow holds the 1074 borehole loggers, in metres above ordnance datum, every 15 minutes to hourly per station (GH-2632)interpolateandsummarizeno longer return a timestamp outside the requested window whenstartorendis not on the resolution’s grid (start12:30 andend12:30 two days later at daily gave the next day’s 00:00 afterend;start10:29 at hourly gave 10:00 before it). The rows are the timestamps withinstartandend, both included, the onesvaluesreturns for the same window, and a window holding none returns no rows (GH-2814)dwd/radarconverts an awarestartorendto UTC, as a naive one already was taken to be, so one instant selects one file:2020-01-01T01:00+01:00read January’sRW202001.tar.gzwhere the same instant as00:00Zreads December’s, losing the hour before midnight, and a+05:30bound matched no file; a bound in a named zone (Europe/Berlin) raised a polarsSchemaErroron the recent and composite files. A historical RADOLAN_CDC request spanning months now reads every month’s archive, not only the one it opens in (GH-2818)ea/hydrologylists every station of the Environment Agency, not the first 100 of 9537 that the API answers with unless asked for more: 2638 stations forstageand 1074 forgroundwater_level(it listed 1 borehole), 1103 for 15 minutedischarge. A station the listing gives two names is listed under the first, and one it gives two dates of closing (Udford) ends on the later. The listing is cached for 12 hours, not 5 minutes (GH-2933)The warning for a parameter a dataset does not have no longer offers a near spelling whose leading words name another quantity:
temperature_dew_point_mean_2mindwd/observationdaily/klno longer suggeststemperature_air_mean_2m, norerror_absolute_temperature_air_mean_2mindwd/mosmixhourly/smalltemperature_air_2m. A misspelling of a name the dataset has is still answered; otherwise the message lists the available names (GH-2924)The descriptions of
dwd/observationtx5_10(10_minutes/temperature_extreme) andv_te002(hourly/temperature_soil) in the REST API, the MCP tools and the docs say that only the historical files carry a value (up to 2009 and 2019):recent(andnowat 10 minutes) hold-999at every station, so those periods never have a value for these two (GH-2852)The description of
dwd/observationhourly/weather_phenomenaweatherin the REST API, the MCP tools and the docs says that its code is one of two tables with disjoint numbers (0-99, WMO table 4677ww; 100-199, WMO table 4680wawaplus 100), that a station’s historical file can hold both, and that the code’s text is in DWD’sWetter_Beschreibung.txt. The code is returned as written, neither table translated into the other (GH-2718)A
dwd/radarHDF5 request withouth5pywarns once, namingpip install wetterdienst[radar], and returns the files unverified, where it logged a traceback for every file (GH-2928)eccc/observationstations are placed at the position ECCC’s list gives in decimal degrees, no longer at its packed degrees, minutes and seconds read as degrees: 8431 of 8435 stations move, 4904 by more than 0.25 degrees on an axis and up to 53 km.CARWAY(2219) on the Alberta border was at 48.5959 N, now 48.9997 N. Distance searches, interpolation and summaries pick stations by it (GH-2942)dmi/observationlists a station with the name, country, position and elevation of its current record (validTonull), no longer of its oldest: 696 of the 967 stations with several records change, by up to 1.75 degrees; 52 gain an elevation and one loses it.04205is nowMittarfik Qaanaaqat 77.4853 N with 16.0 m, no longerQaanaaqat 77.4833 N without one (GH-2946)
Security#
The REST API answers a failure of the server’s own with a 500 whose
detailisInternal server error (<ExceptionType>). The cause is in the server log., no longer the exception’s text, which names server paths (a cache directory, a file anOSErrormet) and upstream URLs. The body is still{"detail": "<string>"}and the status is unchanged, as are the 4xx and 501 bodies; the text and traceback are in the server log, at error level as before (GH-2767)
0.152.0 - 2026-10-15#
Changed#
Breaking:
dwd/mosmixhourly/largee_tttande_td, the absolute error oftttandtd, are namederror_absolute_temperature_air_2manderror_absolute_temperature_dew_point_2m, no longererror_absolute_temperature_air_mean_2manderror_absolute_temperature_dew_point_mean_2m, so that a value and its error share a name. Request the new names; the old ones are not found (logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested), values frames carry the new names, and ageo_station_distancekey by an old name is refused, naming the new one (GH-2659)geosphere/observationstation lists have awmo_idcolumn, the station’s five-digit WMO number (11021for Litschau) from the list’sSynopstationsnummer, null for the stations without one and for the 19 whose number has seven digits (8989106), which is no WMO number. It appears in the frames, JSON and GeoJSON properties. The composite series (zusammengesetztja, e.g.1Aflenz) have none; the number is on their part series, which can share it (GH-2751, GH-2019)The retry of
list_remote_files_fsspecandlist_remote_directory_fsspecno longer puts theSettingsof a keyword call (settings=settings) into stamina’s log record asstamina.kwargs, where a handler that serialises pydantic objects by their fields (logfire, rich) would print a proxy password. The record now carries no arguments and names the retried block<context block>, asdownload_file’s does, no longer the listing function. The retry policy and the answers are unchanged (GH-2904, GH-2623)
Fixed#
wetterdienst[radarplus]installsbitstringbelow 5, becausepybufrkit0.2.25 callsbitstring.BitStream, which 5.0.0 removed: with it, decoding a BUFR file withpybufrkitraisedAttributeError. (GH-2930)A TLS failure (a certificate that does not verify, a failed handshake) is no longer retried: a listing asked for it three times and a download or a post twice, each with a retry warning and the same error at the end. The listings (
list_remote_files_fsspec,list_remote_directory_fsspec) also retry only a failed connection, a timeout, a broken body or a 5xx, no longer every exception, so a 4xx or a missing directory (whichlist_remote_directory_fsspecraises) is not asked for three times (GH-2618)dwd/phenologyparameter descriptions (glossary in the CLI, REST API, MCP tools and docs) no longer say the value is “the day of the year”. It is DWD’sJultag, which is the day of the year only for a date in the reference year and, in a leap year since about 1952, only before 29 February; the descriptions now say so. Only the text changed, not the values (GH-2833, GH-2914)repr(settings)andstr(settings)no longer raise forfsspec_client_kwargsthat aiohttp takes but JSON cannot hold, such asClientTimeout(total=5)or ayarl.URLasproxy. Such a value is masked like the rest of the client kwargs, so a failed file listing is retried and raises its own error instead of the serialization error from stamina’s retry log. The settings’ fields as pydantic andrichprint them mask the client kwargs too (GH-2623)wetterdienst about coverage --provider ... --network ...andwetterdienst radarrefuse a malformedWD_*setting, naming the variable and exiting 1, asabout coveragewithout arguments and every other command already do. They ran and exited 0, so the same environment gaveabout coveragetwo different exit codes (GH-2619)aemet/observationno longer keeps a good envelope when the fetch of itsdatoslink fails, and no longer keeps adatosbody that is no JSON array (a maintenance page, an error object sent with HTTP 200). Both were read back for 5 minutes, the station list for 12 hours, so an expired link kept every request failing. A request that gets such a body now logs a warning and returns no data, not an exception, and the next one asks AEMET again (GH-2887)dwd/dmostation P0563 (London Luton) is at longitude -0.37, no longer +0.37 (50 km east), where the DMO station list loses its minus. Waddington (03377), Farnborough (03768) and Castellon de la Plana (08286) are west of Greenwich and Bauru (F9424) south of the equator, no longer east and north, where DWD publishes them in every file; they are indwd/mosmixtoo. A position is corrected only while DWD still publishes the wrong one (GH-2897)The
dwd/phenologyoverviews (the DWD index and the phenology page of the docs, the module docstrings) no longer open by calling the value “the day of the year”. It is DWD’sJultag, which is that only for a date in the reference year and not for every date of a leap year since about 1952; the openings now say so. Only the text changed, not the values (GH-2902)The
dwd/observationdocs list the code sets DWD publishes:hourly/precipitationwrtras 0, 1, 4, 6, 7, 8, 9, plus 2 and 3, which the files hold and the sheet does not define, and the precipitation indicatorsrs_ind_01,rs_ind_05,rws_ind_10as 0 to 3 with their meaning by QN, no longer 0, 1, 3. Only the docs change; the values returned do not (GH-2703)eccc/observationstart_timestampandend_timestampof a station are those of the resolution’s own collection (HLY_/DLY_/MLY_dates of the station list), no longer the station’s overallFIRST_DATE/LAST_DATEfor all three. A station with no date for a resolution has null, not the overall dates, so test for null, not for a date; such stations are still listed for the resolution (GH-2747)eccc/observationvalues requested withoutstartandendask for the years from the first row of the collection (onelimit=1request per station and collection; for hourly and monthly also the last), no longer from the station’sFIRST_DATEtoLAST_DATE. Rows beforeFIRST_DATEare returned now (1765: 1321 hourly values of 1955), and no request is made for the 65 empty years of a station such as White Rock whose hourly record is shorter than the station’s. A request withstartandendis unchanged (GH-2820, GH-2864)GET /api/authandGET /api/coverage?provider&networkanswer a listed network whose module fails to import (anImportErrorthat is no missing optional extra, such as a brokenlxmlinstall) with a 500, as the data routes do, no longer a 404 “Choose provider and network from /api/coverage”; the MCP tools raise the import error. The/index leaves out a provider whose first network does not import, no longer answering 500 for the whole page. The listing of every provider (/api/coverage,wetterdienst about coverage) logs a warning for a network it cannot import (GH-2800, GH-2801)The
noaa/ghcnhourly docs page no longer constrainspressure_air_site_delta_last_3h(the 3-hour pressure change) to>=0: it is negative when the pressure falls (-6.8 to 7.4 hPa at Anchorage in 2023). Only the docs change, the values returned do not (GH-2874)noaa/ghcnhourly values carry the file’s<element>_Quality_Codeinquality_flags(2suspect,3erroneous,cclimatological outlier, …; the meaning depends on the element’s source, see the quality flags table of the Python API docs), where they were null apart fromraw:. A suspect value is still returned, e.g. 50.0 °C at Antigua with2. The text of a sentinel follows the code (1,raw:999) (GH-2754)A missing optional package now raises
MissingDependencyErrornaming the extra, where it leaked the package’s own error: for ato_targetto a SQL database whose driver is not installed, to CrateDB (cratedb), InfluxDB 1, 2 and 3 (influxdb),.xlsxand.zarr, and for a.ncwithout an engine (a plainImportErrorbefore); for the image of a result or of warming stripes without Kaleido; fordescribe_fieldswithout pypdf. The command line prints one line and exits 1, the REST API answers 501; so doeswetterdienst restapiwithout the extra, no longer a traceback. Where plotly raised aRuntimeError(images) or SQLAlchemy aNoSuchModuleError(CrateDB), catchMissingDependencyErrorinstead. The radar HDF5 download logs the install line (GH-2663, GH-2667)The
dwd/observationdaily docs list the precipitation formrskfandrsfas the codes 0 to 9 (the 2021 sheet defines 0, 1, 4, 6, 7, 8, 9; the files also hold 2, 3, 5), no longer as>=0. Only the docs change; the values returned do not (GH-2911)A request for a parameter name that a dataset renamed (logged and dropped, or
NoParametersFoundError) now says what it is called there: “It was renamed to ‘temperature_air_max_2m_last_12h’ in this dataset” for MOSMIXtemperature_air_max_2m, AEMET monthlytemperature_air_max_2m_multidayand thewind_*_last_10minrenames; “It is named ‘temperature_air_2m’ here” for a sub-dailytemperature_air_mean_2m,temperature_soil_mean_2mand the like. It named the closest spelling before, which was another quantity: the mean of the daily maxima for AEMET,temperature_air_min_2mfor Geosphere 10-minutetemperature_air_mean_2mand the 10 cm grass temperature for KNMI’s. The old names still are not accepted (GH-2644, GH-2673)
Security#
The release workflow builds the distributions in a job without the PyPI trusted-publishing token and publishes them from a second job that runs no project or dependency code, so a compromised build dependency can no longer obtain a PyPI token to upload files of its own. The CI provider keys (
WD_AUTH__*) are given to the test steps alone, no longer touv syncor the Codecov action (GH-2768)
0.151.0 - 2026-10-14#
Fixed#
Station names of
aemet/observation,metoffice/observationandmetno/frostno longer carry the blanks the catalogues pad some with (PORTOCOLOM,PORTLAND,KVANNDALEN), so an exact comparison of the name, such asname = 'PORTLAND'in an SQL filter, matches them (GH-2654)Breaking:
dwd/observation10_minutes/urban_solarsunshine_duration(SD_ST_10) is declared in hours, no longer minutes. DWD’s parameter sheet says “Minute”, but the values are fractions of an hour (0.17 is a full-sun interval of 10 minutes). With the default unit targets a full-sun interval comes back as 612 s, not 10.2 s, so values you stored from before are 60 times too small in seconds; multiply them by 60. Withconvert_units=Falsethe numbers are unchanged, and their unit ish, notmin(GH-2698)The
radarextra no longer installstabula, an unrelated package (“Ascii table”) that has noread_pdf; nothing at runtime imported it. Only the maintainers’ radar-sites generator (provider/dwd/radar/sites.py) reads a PDF withtabula, and needspip install tabula-pyand a Java runtime itself.uv sync --extra radardropstabulaand, with it,setuptools(GH-2764)noaa/ghcndaily stations FR000007510 (Bordeaux-Merignac), FRE00104044 (Caen-Carpiquet) and SP000008416 (Valencia) are listed west of Greenwich, at -0.6914, -0.4558 and -0.3664, no longer east of it.ghcnd-stations.txthas lost the sign of their longitude, which put them 63 to 109 km off, so a nearest-station search or an interpolation near them picked the wrong stations (GH-2645)Breaking:
dwd/observationdaily/temperature_soil/temperature_soil_mean_1m(v_te100m) is gone. DWD does not publish a 100 cm column (the files and the dataset sheet stop at 50 cm), so a request for it returned no rows and no warning, and the docs and coverage listed it as available. A request that names it now warns that it is not a known parameter and drops it, and fails if it names nothing else; remove it from the request. The hourlytemperature_soil_1m(v_te100) is unchanged (GH-2700)aemet/observationno longer serves an error of AEMET’s back from the cache. AEMET reports the rate limit (estado429) and its own faults (500) in the body of an HTTP 200, which was kept for 5 minutes (12 hours for the station list) and read back by every request after it. Such an answer, a maintenance page and an envelope without a link to the data are now dropped, so the next request asks AEMET again (GH-2750)aemet/observationandmetno/frostkeep an accepted credential check for one minute, not one hour, sois_valid()and the credential check of the REST API and app stop reportingTruefor a revoked key within a minute. A refused or failed AEMET check is no longer kept at all (GH-2750)imgw/meteorologyreturns the first station of the list,249170080Dzierżkowice, which the reader took for the header: the list gave 799 of 800 stations and a request for that station found nothing (GH-2650, GH-2752)noaa/ghcndaily: 20 more stations, in the UK (Heathrow, Waddington, Cranwell, …), Spain (Alicante, Murcia/San Javier, Valencia airport, …), France (Mont-de-Marsan) and Burkina Faso (Ouagadougou, Dedougou), are placed west of Greenwich, no longer east of it, whereghcnd-stations.txthas lost the sign of their longitude. They were 6 to 756 km off, so a nearest-station search or an interpolation near them picked the wrong stations (GH-2886)dwd/mosmixanddwd/dmostation 08370 (Javea) is at longitude +0.17, no longer -0.17, anddwd/dmostation 40103 (Tripoli, Lebanon) at latitude 34.45, no longer 33.45. DWD publishes both at the wrong place, 30 and 111 km off, so a nearest-station search near them picked the wrong stations. A position is corrected only while DWD still publishes the wrong one (GH-2646)meteofrance/observationdailywind_direction_gust_max(DXI) andmeteofrance/synopwind_direction_last_10min(dd) no longer return a direction of 400 degrees, which lies outside the compass and which neither source defines: the daily 2007-09-05 of 31299001 and 14 rows of the 1996 SYNOP file (89642, 61972). The value is null withraw:400as the last token ofquality_flags(GH-2728, GH-2873)noaa/ghcndaily stations that report in the current year have noend_timestamp(null) in the station list, as forchmi/observation; it was 31 December of this year, a date not reached yet, for 38,505 of 133,039 stations. The inventory gives only the year of the last observation, so null reads as still reporting; a filter for such stations tests for null (GH-2643)
0.150.0 - 2026-10-13#
Fixed#
eccc/observationmakes no requests for hourly or daily values of a station that the station list gives noHLY_/DLY_first date (6750 of 8435 stations for hourly) when a request names nostartandend. It asked for every year of the station and got empty answers, one request per year. Such a station has no values in the years asked for; a null-valued row (flagM) of one is no longer returned withdrop_nullsoff. Requests with dates are unchanged (GH-2820)metno/frostsends the end of a request one second later, and fordailyas 00:00 UTC of the date after it, because Frost’s intervals exclude their end. The value stamped at the end of a window (the 00:00 hourly reading, the month or year that starts there) and the dailysnow_depthof the end date, read at 06:00 UTC, are returned now; results are still cut to the window asked for. Taken from Frost’s documentation, not checked against the live API (GH-2729, GH-2746)Breaking:
dwd/dmoradiation_global(Rad1h, both products) andradiation_global_last_3h(RadS3) are ten times larger than before. DWD writes them in J/cm2, not the kJ/m2 of the MOSMIX element table that was assumed (142.09 in the file is 142.09 J/cm2, 1421 kJ/m2, not 14.2 J/cm2). Values stored from earlier versions are a tenth of the true ones: multiply them by 10 (GH-2821)Breaking:
noaa/ghcnhourlysnow_depthis declared in millimeters, as GHCNh publishes it (“depth of snowpack on the ground (millimeters)”), no longer in centimeters. The numbers in the files are unchanged, but they were taken for centimeters, so values came back ten times too large (Anchorage: 910 cm where the GHCN-dailySNWDgives 910 mm). With the default unit targets the value is still in centimeters but a tenth of what it was (91.0 for 910 mm);unit_targetsforlength_shortpicks another unit. Values you stored from before are ten times too large in whatever unit they carry; divide them by 10 (GH-2848)meteofrance/synopwind_direction_last_10min(dd) is null where the file writes 0, withraw:0inquality_flags, no longer 0 degrees (north). 0 is the WMO code of a calm wind (all 3495 zeros of the 2024 file haveff0) and north is 360.wind_speed_last_10minis unchanged (GH-2856)
0.149.0 - 2026-10-13#
Changed#
Breaking:
meteofrance/synopsubdaily/dataddandff, Météo-France’s direction and speed of the wind averaged over 10 minutes, are namedwind_direction_last_10minandwind_speed_last_10min, no longerwind_directionandwind_speed. Request the new names; the old ones are not found insubdaily/data(logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested).ffis the 10-minute mean cut to whole m/s (2.4 m/s in the hourlymeteofrance/observationFFis 2 inff), so it reads up to 0.9 m/s below it (GH-2733)Breaking:
knmi/observationhourlyDD, KNMI’s mean wind direction over the last 10 minutes of the hour (“Past 10 minute mean wind direction”), is namedwind_direction_last_10min, no longerwind_direction, which is the mean over the row’s interval. Request the new name; the old one is not found inhourly/data(logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested; GH-2644). The 10-minutewind_directionis unchanged (GH-2835)Breaking:
meteofrance/observationhourlyFXY, the hour’s highest 10-minute mean wind (“valeur maximale de FF dans l’heure”), is namedwind_speed_rolling_mean_max, no longerwind_gust_max: it is no gust (department 31 since 2020: mean 3.7 m/s, betweenFF2.9 and the gustFXI6.0). Request the new name;wind_gust_maxis not found inhourly/core(logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested; its “Did you mean” nameswind_direction_gust_max, wrongly). The hourly gustsFXIandFXI3Sstay unmapped; the dailywind_gust_max(FXI) is unchanged (GH-2834)
Fixed#
dwd/phenology:Jultagis documented as what it is. It is the value DWD writes, not the day of the year as the docs said: in leap years since about 1952 it counts 365 days (1 March is 60) and a date before the reference year is a negative number of days. The timestamp plusJultagdoes not always give the entry date; the values are unchanged (GH-2822)rmi/observationreturns the stamp of a request withstart == end(the one-day form) at all three resolutions. It raisedDownloadError(HTTP 400): the GeoServer rejects a zero-lengthDURINGperiod. The filter is nowtimestamp >= start AND timestamp <= end, the same window otherwise (GH-2823)dwd/observation10_minutes/urban_windwind_direction: a 0 beside a wind speed of 0 (a calm wind) is null, withraw:0inquality_flags, no longer 0 degrees (north), as for10_minutes/wind. The hourlyurban_winddirection is unchanged (GH-2809)A cache directory that cannot be written no longer fails every request. A Docker volume that an image before 0.148.0 filled as root made them fail with
sqlite3.OperationalError: attempt to write a readonly database. The process now logs one warning naming the directory and the reason and keeps its cache in a temporary directory, removed at exit. Chown the volume to10001:10001once to keep the cache across runs, see the Docker page (GH-2860)nws/observationkeeps the fractions of wind gust, air and sea-level pressure, visibility, the 24-hour temperature extremes and precipitation (1, 3 and 6 hours). They were truncated to whole numbers on the read, so 0.8 mm of rain was returned as 0 and 28.4 mm as 28; the values now come back as the endpoint gives them (GH-2849)
0.148.0 - 2026-10-13#
Added#
wetterdienst about auth --provider=... --network=...and the MCP toolauthcheck one network’s credentials, asGET /api/authdoes and with the same answer:validistrue,false(rejected, or not configured) ornullwhen the probe (one attempt, given up after a few seconds) could not tell.coveragedoes not probe, so this is the check from the command line and from an MCP client. The command exits 0 whatevervalidis; read the JSON (GH-2773)
Changed#
Breaking: the Docker image runs as the user
wetterdienst(uid 10001), no longer as root, with/home/wetterdienstas its working directory and/home/wetterdienst/.cache/wetterdienstas its cache. Mount a cache volume there, or anywhere withWD_CACHE_DIRpointing to it, and make a volume or host directory that root filled (the cache, a file--target) writable by uid 10001 once:docker run --rm --user 0 -v <volume>:/c ghcr.io/earthobservations/wetterdienst chown -R 10001:10001 /c(GH-2770)chmi/observation: the monthly and annual values carry the files’FLAG_INTERRUPTEDinquality_flags(null before) asinterrupted:I: the value is computed although daily values of the period are missing. A filter on a nullquality_flagsas “no flag” no longer holds for these rows.FLAG_REPEATis carried asrepeat:*too, but onlyMAX/MINrows have it and none of the parameters is one (GH-2763)Settingsno longer holds the 15ts_*settings: they are gone frommodel_fields,model_dump()(soSettings(**s.model_dump())carries none) and the repr, and a malformedWD_TS_*is refused whenOptionsis built, not bySettings().Settings(_env_file=...)no longer sets options: useOptions(_env_file=...).SkipThresholdis imported fromwetterdienst.options, whereresolve_optionsandoptions_from_settingsof 0.147.0 are gone;resolve_optionsis inwetterdienst.settings(GH-2639)dmi/observation:quality_flags(null before) carries DMI’sqcStatusandvalidity, asmanual,validity:true. DMI setsvaliditytofalsefor values its climatologists consider invalid (“generally not correct”), mostly Greenland: 1978 mm of precipitation in a day at 04339, 17,802 mm in a month. The values are still returned; filterquality_flagsforvalidity:falseto leave them out. A filter on a nullquality_flagsno longer holds (Part of GH-2797)
Deprecated#
Settings(ts_shape=...)and the otherts_*settings, reading or assigningsettings.ts_*(ts_tidyand the other derived members too), and asettings={"ts_...": ...}dict now warn with aDeprecationWarningand are forwarded to the options of a request given nooptions=. Useoptions=Options(shape=...)and readrequest.options. A request keeps the options it was built with, andoptions=besidets_*settings that differ from the environment’s options is aValueError.Settings.model_construct(ts_...)is not forwarded. Assigningsettings.ts_geo_station_distancetakes effect now (it was checked and then discarded). TheWD_TS_*variables stay and do not warn (GH-2639)
Fixed#
dwd/poicloud_cover_totalis null, withraw:113orraw:126inquality_flags, where DWD writes those numbers in the percent column (113 is an obscured sky, 126 comes with fog). They came back as a cloud cover of 1.13 and 1.26: 58 of 8744 reports in a day of 960 stations (GH-2615)dwd/observationwind direction: a 0 that DWD writes for a calm or variable wind is null, withraw:0inquality_flags, no longer 0 degrees (north, which a wind rose or a mean direction counted). Every 0 ofhourly/wind,hourly/wind_synoptic(DWD: “windstill DD=00”) andsubdaily/wind; in10_minutes/windand10_minutes/wind_extremeonly a 0 beside a wind speed (a gust) of 0, as some stations write north as 0 there and a 0 beside a wind that blows stays (GH-2805)dwd/derivedandeccc/observationvalues collect with the in-memory engine, as on polars 1, not with the streaming engine polars 2 uses by default: it took 6 times as long for the hourly radiation of one station and 4 times for 60 years of daily rows of one ECCC station, for the same rows (GH-2781)A wind direction of 0 that is no bearing (a calm wind) is null, with the source’s text (
raw:0) inquality_flags, no longer 0 degrees (north, which a wind rose or a mean direction counted):noaa/ghcnhourlywind_direction(the documentation’s “000”),geosphere/observationwind_direction(dd) of the 10 minute and hourly data, anddwd/poiwind_direction_last_10min, where the 0 is a calm or a variable wind (it comes with speeds up to 22 km/h). North is 360 in these sources. The gust direction of Geosphere has no 0 and is unchanged (GH-2794)A wind direction of 0 that means a calm wind is null, with the source’s text (
raw:0,raw:0.0) inquality_flags, no longer 0 degrees (north, which a wind rose or a mean direction counted):nws/observation(METAR00000KT),smhi/observation(both directions),fmi/observationwd_10min, anddmi/observationmean_wind_dirwhere the mean wind speed of the same hour, day, month or year is 0. North is 360 in these sources. A DMI 0 beside a wind that blows stays (GH-2794)GET /api/authandGET /api/coverage?provider=...&network=..., and so the MCP toolsauthandcoverage, answer a network whose optional extra is not installed with the 501 the data routes answer, not the 404 “Choose provider and network from /api/coverage” for an unknown one. The install line is in the server log (GH-2788)eccc/observationdailywind_gust_maxandwind_direction_gust_maxare null, withraw:0inquality_flags, where ECCC writes 0: the gust is not reported below 31 km/h, and a direction of 0 is no bearing (north is 36 tens of degrees). They were 0 m/s and 0 degrees on over a third of the days with a gust value. Use the gust only where it is not null (GH-2615)eccc/observationstart_timestampandend_timestampof a station with hourly values were one hour early when the station’s first or last date fell in the daylight-saving season (Toronto Intl A started 2013-06-11 13:00 UTC, not 14:00). The dates are Local Standard Time, so they are now converted with the fixed offset of theTIMEZONEcode (no more 17 min 32 s from the local mean time of a station that began before 1895), and an unknown code raises (GH-2693)dwd/observation1-, 5- and 10-minutehistoricalvalues: a request for the last hour (two in summer time) of the last day of a file, such as 22:00 to 23:50 UTC on 31 July, came back without those hours, because the file’s end was read as Berlin midnight; its stamps are UTC (MEZ, a fixed UTC+1, before 2000). A request ending on a file’s first stamp now gets that file too (GH-2811)eccc/observationhourlywind_directionis null, withraw:0inquality_flags, where ECCC writes 0: ECCC’s glossary says “A value of zero (0) denotes a calm wind”, and north is 36 tens of degrees. A calm hour was 0 degrees, north, before: 1824 of 43,469 hours with a direction at five stations, all with a wind speed of 0 (GH-2794)dwd/observation10_minuteshistorical: the six values 1999-12-31 23:00 to 23:50 UTC were missing for every station and dataset that spans the year 2000 (a 70 minute hole), because the file of 1999 (MEZ) and the file of 2000 (UTC) carry the same digits for different instants. The wind file of 1999 also reaches into 2000-01-01 00:00 to 00:50 MEZ, which now lands on 23:00 to 23:50 UTC and no longer competes with the real values of 00:00 to 00:50 UTC. The same holds for the stamps past MEZ midnight in the December 1999 files of1_minute(23:00 to 23:59 UTC) and5_minutes(one row, 23:00 UTC; whether it is a misstamped 23:55 is open, GH-2827). A request for that hour returns these values (GH-2815)dwd/observationsubdaily/windwind_direction(DK_TER) is in degrees. The file holds the point of a 32-point wind rose (DWD: “32-teilige Windrose”), and 24 was returned as 24 degrees for a west wind. A value is now multiplied by 11.25: 8 is 90 degrees, 16 is 180, 24 is 270, 32 is 360 (GH-2808)dwd/derivedsettles a timestamp that two periods report (historical and recent) on the historical record, in every run. It kept whichever row it had read first, in the order of an unordered set, so the value (or a missing reading) could differ from one run to the next (GH-2792)imgw/meteorologydaily/climate(from May 2024) anddaily/synop(from July 2024) no longer raiseAttributeError: IMGW stopped writingk_d_tands_d_tinto the zips then. The parameters ofk_d/s_dare returned; those only the missing file carries (cloud_cover_total,humidity_relative,wind_speedand, in synop, the vapour and air pressures and the day and night precipitation) have no rows after the month the file ends (GH-2819)
0.147.0 - 2026-10-12#
Added#
polars 2 is supported: the dependency is now
polars[calamine]>=1.43.0,<3(it was<2), so wetterdienst installs next to packages that need polars 2.dwd/observationcollects with the in-memory engine, as on polars 1, not with the streaming engine polars 2 uses by default (GH-2570)wetterdienst.Options: the per-request options (shape,humanize,convert_units,unit_targets,skip_*,drop_nullsand thegeo_*distances), the request half of whatSettingsholds asts_*, as a frozen class of their own. They read the sameWD_TS_*variables and.env, so no host configuration changes;replace(**changes)makes a validated copy.Settingsis unchanged;check_settings()now checks them too (GH-2639)Every timeseries request takes the keyword
options=(anOptions, or a dict naming some of them), andStationsResult.optionscarries them to the values,interpolateandsummarize. Given none, a request takes thets_*settings of itsSettingsas before, so nothing changes for a caller who passes none – except that assigningsettings.ts_*after the request is built no longer reaches it. Passingoptions=beside settings that carry a non-defaultts_*raises aValueError: set the options inoptions=alone (GH-2639)
Changed#
Breaking: the
qualitynumber of every values frame is replaced by one nullable string columnquality_flags(wide:<parameter>_qualityby<parameter>_quality_flags) holding every flag the source publishes, comma-separated: the quality flag plain (T,Good,3), further kinds askind:code(noaa/ghcndailyG,measurement:T,source:7,chmi/observation3,element:E); null where there is none. It fills whateccc,ea,meteofrance,noaa/ghcn,chmi,nwsandsmhidropped, andimgw/meteorologykeepsZwhere it wrote 10. Where you used the number, cast it,pl.col("quality_flags").cast(pl.Int64, strict=False)(Zis no number); select by name, as columns move; SQL tables need the new column. Interpolated and summarized frames have no flags column (GH-2018, GH-2755, GH-2757, GH-2758)Breaking:
metno/frostdailysnow_depthis stamped at 00:00 UTC of the date of its reading, no longer at the time of the reading (usually 06:00 UTC), like the other daily parameters. Join stored snow depth on the date (GH-2729)Breaking:
metno/frostandaemet/observationis_valid()isFalseonly when the provider rejects the credential (HTTP 401/403, for AEMET also anestadoof 401/403),Truewhen it accepts it, andNonewhen the probe could not tell (no network, a TLS failure, a timeout, a 429, a 5xx), which used to read asFalse.validin/api/authistrue,falseornullwith it: treatnullas unknown, not as invalid, and do not hide the provider for it. The app lists such a network.Wetterdienst.is_valid(api)is the guarded call (GH-2550, GH-2562)The REST API and the MCP tools refuse a chart image with a side over 8192 px,
scale(or the stripesdpi) applied, with a 400 naming the limit; a larger one held a Chromium for tens of seconds and could come back empty. Ask for a smallerwidth,height,scaleordpi. The library and the CLI are not limited (GH-2765)Breaking:
Wetterdienst.discover(),GET /api/coverage(and the MCPcoveragetool) andwetterdienst about coveragedownload nothing, so they answer at once.validisnullfor a network whose credentials are configured, where it wastrueorfalseafter a probe; it staysfalsewhere they are missing. AskGET /api/authper network, orWetterdienst.is_valid(api), whether they are accepted. That probe is one attempt that takes at most 5 s, and AEMET’s probe reads only the envelope: anestadoof 200 is accepted, whatever follows. The app lists the networks at once and hides one when/api/authsays its credentials are rejected (GH-2564)The package ships
py.typed(PEP 561): mypy and pyright now read the annotations of the public API instead of taking all of it forAny, so code they passed before may report errors. For that the annotations were made true: every provider package lists its classes in__all__(strict mode refusesfrom wetterdienst.provider.dwd.observation import DwdObservationRequestotherwise),to_plot(**kwargs)takes any values (it saiddict),discover()isdict[str, Any], andTimeseriesValuesis generic over the model a provider collects by (a bareTimeseriesValuesstill means any). A request’smetadata,_valuesand_historyare class variables, no longer indataclasses.fields()(GH-2622)Breaking: a
.envfile is read as UTF-8 on every Python, where the encoding was the locale’s (the ANSI code page on Windows) until Python 3.15 made UTF-8 the default. A.envsaved in a Windows code page with a non-ASCII value now raisesUnicodeDecodeErroronSettings(): re-save it as UTF-8 (GH-2568)A value a provider maps from a missing-value sentinel is no longer a null with no trace: the text the source wrote is the last token of
quality_flags,raw:<text>(3,raw:-999,raw:-99.0,raw:NaN), for thedwdnetworks that read one,aemet,fmi,geosphere,imgw/hydrology,ipma,knmi,meteofrance,metoffice,metno/frostandnoaa/ghcnhourly. Where the source documents the code (FMI’s-1.0), the value is what it stands for (0.0) and the token stays. The long frame drops null rows by default, so read the token withts_drop_nulls=Falseor in the wide shape, where a nullquality_flagsno longer means “no flag” for these rows.metoffice/observationreturns a day whose reports are allNAas a null row, andimgw/hydrologynulls9999in the stage,99999.999in the discharge and99.9,9999in the water temperature, no longer all three in every column (GH-2759)
Removed#
The
tzfpydependency andTimeseriesValues._get_timezone_from_station, which looked up a station’s time zone from its position. Since GH-2683 no provider stamps a row with the station’s zone, so nothing called it; installs are one compiled package smaller. A subclass that called the private method must resolve the zone itself (GH-2725)
Fixed#
eccc/observationadailyrequest for the first day of a station, or amonthlyone for its first month, no longer skips the station: itsstart_timestampandend_timestampin the station list are now 00:00 UTC of the first and last date (of the month formonthly), like the values, where they were the local time moved to UTC (13:00 UTC for 09:00 in Toronto).hourlyis unchanged (GH-2730)ea/hydrologydaily requests no longer cut the newest reading of a window: the readings request carried a_limitof one reading per day, but a window holds more readings than days (the maximum and minimum are dated at their instant, and the endpoint answers some days twice), so the last requested day could be missing. No_limitis sent for daily now (GH-2732)Station lists keep columns the readers built and
all()dropped:wsv/pegelhasriver(as published,ELBE) andriver_kilometer,noaa/ghcnhaswmo_id(daily and hourly, five digits),knmi/observationhaswigos_id, the full WIGOS identifier whose trailing number isstation_id, andmetoffice/observationfillsregionwith the MIDAS historic county (shetland), which was null. The columns appear in the frames, JSON and GeoJSON properties of those providers (GH-2019)Breaking:
dmi/observationregionheld DMI’s country code (DNK,GRL,FRO) and is null now, DMI giving no region; the code is in the newcountrycolumn. Filter or group bycountrywhere you usedregion(GH-2019)Breaking:
imgw/meteorologyregionheld the river catchment with its hydrographic code (Odra (1)) and is null now, the station list giving no region; the catchment is in the newrivercolumn. Useriverwhere you usedregion(GH-2019)knmi/observationwithout theknmiextra raisesMissingDependencyErrornamingpip install wetterdienst[knmi], no longer a bareModuleNotFoundError(anImportErroreither way); the CLI prints that line, and/api/stations,/api/values,/api/interpolateand/api/summarizeanswer 501 with the line in the server log, no longer a 500 with a traceback (GH-2545)noaa/ghcnreads its daily station list and inventory over https, no longer plain http (GH-2766)
0.146.0 - 2026-10-11#
Changed#
Breaking:
fmi/observationhourlyws_10minandwd_10min, FMI’s mean wind speed and direction over 10 minutes, are namedwind_speed_last_10minandwind_direction_last_10min, no longerwind_speedandwind_direction, which are the mean over the row’s interval. Request the new names; the old ones are not found inhourly/data(logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested; GH-2644) (GH-2707)Breaking:
metno/frosthourlywind_speedandwind_from_direction, Frost’s mean over the last ten minutes before the observation time, are namedwind_speed_last_10minandwind_direction_last_10min, no longerwind_speedandwind_direction. Request the new names;wind_directionis not found inhourly/data(logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested), andwind_speed, which is also Frost’s own element name, still selects the row but comes back namedwind_speed_last_10min. Daily and monthlywind_speedare unchanged (GH-2707)Breaking:
smhi/observationhourly parameters4and3, SMHI’s mean wind speed and direction over 10 minutes taken once per hour, are namedwind_speed_last_10minandwind_direction_last_10min, no longerwind_speedandwind_direction. Request the new names; the old ones are not found inhourly/data(logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested). The 1-minutewind_speedandwind_directionare unchanged (GH-2707)Breaking:
meteofrance/observationhourlyFFandDD, Météo-France’s wind force averaged over 10 minutes and its direction, are namedwind_speed_last_10minandwind_direction_last_10min, no longerwind_speedandwind_direction. Request the new names; the old ones are not found inhourly/core(logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested). The daily and monthlywind_speed(FFM) are unchanged (GH-2707)Breaking:
noaa/ghcndailyvalues are stamped at 00:00 UTC of their date, no longer at the station’s local standard midnight in UTC (Tokyo 15:00 UTC of the day before, New York 05:00 UTC), so a request for one day (startandendthe same date) returns that day for every station. Stamps move by up to 14 hours: join stored series on the date, no longer on the instant, and shift series stored with the old stamps (GH-2683)Breaking:
eccc/observationdailyandmonthlyvalues are stamped at 00:00 UTC of their date or of the first of the month, no longer at the station’s civil midnight in UTC (Toronto 05:00 UTC in winter, 04:00 UTC in summer), so a request for one day or month returns it. Join stored series on the date, no longer on the instant (GH-2683)Breaking:
smhi/observationdailysnow_depthis stamped at 00:00 UTC of the date of its reading, no longer at 06:00 UTC, like the other daily parameters, so a request for one day returns it with them, where it used to be dropped. Join stored snow depth on the date (GH-2683)Breaking:
ea/hydrologydailyvalues are stamped at 00:00 UTC of the day they name (the 24 hours from 09:00 of that day), no longer at 09:00 UTC for the mean and at the instant of the extreme for the maximum and minimum, so a request for one day returns it. Where the endpoint answers one day twice, the reading with a value is kept, then the complete one, then the good one. Join stored series on the date, no longer on the instant (GH-2683)
Fixed#
meteofrance/synopsubdaily/datareturns0.0, no longer-0.1, forprecipitation_amount_last_1h,_3h,_6h,_12hand_24hin hours with a trace of rain, so a sum over a period is no longer short by a tenth of a millimetre per trace, and null, no longer1.01, forcloud_cover_totalwhen the sky was obscured (n = 101) (GH-2674)meteofrance/observationhourly/otherscloud_cover_totalis null, no longer1.125, in the hours in which the sky was invisible (N = 9), so a mean or a maximum over a period is no longer pulled past a whole sky; null values are dropped by default (GH-2687)metno/frostsends the bounds of a request to Frost as UTC. They went out as the wall clock of whatever zone they were held in, which Frost reads as UTC, so a request inEurope/Osloasked for a window one or two hours off and lost rows at one end (GH-2681)dwd/observationhourly/weather_phenomenareturns null, no longer-1, forweatherin the hours in which DWD did not report the present weather (WW_Text: “Wetter wurde nicht gemeldet”), so counting hours by weather code, or taking its maximum or mean, no longer includes them (GH-2670)Breaking:
dmi/observationdailyprecipitation_amount_max(max_precip_30m) is dated by the day it ends on, as DMI defines it (“23:31 local time to the previous day to 24.00 local time of the respective day”), not by the day before; its series moves one day later. Shift stored series of it by one day. The other daily parameters are unchanged (GH-2676)dwd/derivedmonthly values (heating_degreedays,cooling_degreehours_*andclimate_correction_factor) are stamped with the first day of their month at 00:00 UTC, no longer with the request’s start including its time of day and offset (startof2025-01-01T00:00+01:00stamped January as 2025-01-31 23:00 UTC). The UTC months ofstartandendare fetched, and a month is returned only if its first day at 00:00 UTC lies withinstartandend, so astartof2025-01-01T06:30no longer returns January (GH-2679)meteoswiss/observationpicks the decade files of the 10-minute and hourly historical data by the UTC year of the request bounds, as the time stamps are in UTC, where it took the year as written: a request in a local zone near New Year, such as2010-01-01T00:30:00+02:00, returned no rows (GH-2680)meteofrance/observationhourly/corewind_direction_last_10minandwind_direction_gust_maxanddaily/corewind_direction_gust_maxare null, no longer0or999: the files write0where there is no direction, mostly in a calm wind (5 % of the hourlywind_direction_last_10minvalues since 2020), and999, probably for a variable one, which a wind rose or a mean direction counted as north or as 999 degrees.360is north and stays (GH-2720)A request whose
startandendcarry a named time zone (ZoneInfo("Europe/Vilnius")) no longer raises a polarsSchemaErroronce its values are cut to the window. The bounds, and sorequest.start/endand the result’s, are converted to UTC when the request is made: the same instants as before, now with a UTC zone, where an aware bound kept the zone it was given. The providers that read a bound’s year or date, or format it for the upstream, now do so in UTC (GH-2682)The “Time zones and reference times” page (
docs/data/time_reference.md) no longer lists thedwd/derivedmonthly stamp, themeteoswiss/observationdecade files and themetno/frostrequest bounds as deviations from their sources: they were fixed (GH-2679, GH-2680, GH-2681) and the notes of their rows state what the code does now (GH-2734)The “Time zones and reference times” page (
docs/data/time_reference.md) no longer calls themetno/frosthourly wind an instant:wind_speed_last_10minandwind_direction_last_10minare Frost’s mean over the ten minutes before the stamp, so the stamp ends their window (GH-2736)The “Time zones and reference times” page (
docs/data/time_reference.md) no longer files the 10-minute wind mean as an instant:dwd/poihourly wind is “end for wind: the mean of the last 10 minutes before the stamp”, as AEMET’s already was, andmeteofrancehourly and synop wind say that their source does not state which end of the 10 minutes the stamp is (GH-2738)
0.145.0 - 2026-10-11#
Changed#
Breaking: Python 3.10 is no longer supported;
wetterdienstrequires Python 3.11 or newer. Install on 3.11 or newer; pip on an older Python keeps resolving the last release that supports it. Thebackports-datetime-fromisoformatdependency, which only Python 3.10 installed, is dropped. Theexportextra requiresxarray>=2025.6.0; with thezarr>=3.1the extra installs, 2024.6 cannot write Zarr and earlier releases cannot read it back, so upgrade xarray. Theradarplusextra requiresxradar>=0.8, as older releases need thedatatreepackage that xarray 2025.1 and later no longer work with (GH-2568, GH-2704)Breaking:
chmi/observationmonthly and annualTMAandTMIare namedtemperature_air_max_2m_meanandtemperature_air_min_2m_mean, no longertemperature_air_max_2mandtemperature_air_min_2m: the files hold the mean of the daily maxima and minima, not the extremes of the period. Request the new names; the old ones are not found in these datasets (logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested). The daily names are unchanged (GH-2614)Breaking:
aemet/observationmonthly and annualta_maxandta_min, the absolute maximum and minimum of the month or year, are namedtemperature_air_max_2mandtemperature_air_min_2m, no longer the_multidaynames. Request the plain names; the old ones are not found in these datasets (logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested) (GH-2614)Breaking:
dwd/mosmix(small,large) anddwd/dmo(icon,icon_eu)txandtn, the maximum and minimum temperature within the last 12 hours, are namedtemperature_air_max_2m_last_12handtemperature_air_min_2m_last_12h, no longertemperature_air_max_2mandtemperature_air_min_2m. Request the new names; the old ones are not found in these datasets (logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested) (GH-2614)Breaking:
dwd/observation10-minutett_10andtm5_10, which DWD describes as the instant air temperature at 2 m and 5 cm, are namedtemperature_air_2mandtemperature_air_0_05m, no longertemperature_air_mean_2mandtemperature_air_mean_0_05m, which name the mean over the interval. Request the new names; the old ones are not found in10_minutes/temperature_air(logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested) (GH-2651)Breaking:
meteoswiss/observation10-minutetre200s0,tre005s0,tso005s0,tso010s0,tso020s0,tde200s0and hourlytso005hs,tso010hs,tso020hs, which MeteoSwiss calls the current value, are namedtemperature_air_2m,temperature_air_0_05m,temperature_soil_0_05m,_0_1m,_0_2mandtemperature_dew_point_2m, no longer the_mean_names. Request the new names; the old ones are not found in these datasets (logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested). The hourly meanstre200h0,tre005h0andtde200h0keep their_mean_names (GH-2651)Breaking:
smhi/observation1-minute45and hourly1and39, which SMHI calls instantaneous values, are namedtemperature_air_2mandtemperature_dew_point_2m, no longertemperature_air_mean_2mandtemperature_dew_point_mean_2m. Request the new names; the old ones are not found in these datasets (logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested). The daily and monthly means keep theirs (GH-2651)Breaking:
aemet/observationhourlytaandtpr,meteofrance/observationhourlyTandmetno/frosthourlyair_temperature, which their sources describe as an instantaneous, present or observation-time value, are namedtemperature_air_2mand, fortpr,temperature_dew_point_2m, no longer the_mean_names. Request the new names; the old ones are not found in these datasets (logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested). Where a source says a mean, the_mean_name stays (GH-2651)Breaking: DWD temperatures below daily resolution whose source states no statistic are named for a reading at one moment, no longer the mean:
dwd/observation10-minutetd_10andurban_temperature_air/_soil, hourlydew_point,moisture,temperature_air,temperature_soilandurban_temperature_air/_soil, subdailymoistureandtemperature_air;dwd/mosmix,dwd/dmottt,t5cm,td;dwd/swsmosTL,TD;dwd/poi;dwd/roadroadSurfaceTemperature. Requesttemperature_air_2m,temperature_air_0_05m,temperature_dew_point_2m,temperature_wet_2m,temperature_radiant_2m,temperature_surfaceortemperature_soil_0_02mto_1m; the old names are not found (logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested). Windowed names keep theirs; roadairTemperatureanddewpointTemperatureand SWSMOSTSfollow below (GH-2657)Breaking: the same for the sub-daily temperatures of
chmi,eccc,knmihourly,lhmt,metoffice,noaa/ghcnhourly,meteofrance/observationhourlyTD,meteofrance/synoptdandmetno/frosthourly dew point, whose sources say nothing about the statistic. Request the spot names; the old ones are not found (logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested). Rows whose source says a mean or average of the row’s interval (IPMA, MeteoSwiss hourly, KNMI 10-minutetgandtb; DMI and RMI in the field name) keep their_mean_names (GH-2657, GH-2660)Breaking:
dwd/roadairTemperatureanddewpointTemperatureanddwd/swsmosTS, which DWD gives without a statistic, are namedtemperature_air_2m,temperature_dew_point_2mandtemperature_surface, no longertemperature_air_mean_2m,temperature_dew_point_mean_2mandtemperature_surface_mean. Request the new names; the old ones are not found in these datasets (logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested).dwd/roadroadSurfaceTemperaturewas alreadytemperature_surface(GH-2660)Breaking: sub-daily temperatures whose “mean” was not the source’s are named for a reading at one moment, no longer
temperature_air_mean_2m,temperature_dew_point_mean_2mor the_mean_soil and 0.05 m names:geosphere/observation10-minutetl,ts,tb10totb50and hourlytl,tb10totb200,wsv/pegelLT,meteofrance/synopt,nws/observationtemperatureanddewpoint,fmi/observationhourlyt2mandtdandknmi/observation10-minutetaandtd. Requesttemperature_air_2m,temperature_air_0_05m,temperature_dew_point_2mortemperature_soil_0_1mto_2m(_2mis new); the old names are not found in these datasets (logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested). KNMItgandtbkeep their_mean_names (GH-2660)Breaking: a
ts_geo_station_distanceoverride keyed by an old_mean_name no longer applies to a row moved to a spot name by the entries above: the row takes the default radius. Key the override by the new name (GH-2651, GH-2657, GH-2660)GET /api/coveragedeclares its response in the OpenAPI document: the list of every provider and its networks, and the resolutions, datasets and parameters of one (CoverageNetwork,CoverageResolution,CoverageDataset,CoverageParameter), so a client can be generated from or checked against it. The JSON sent is unchanged; the MCPcoveragetool takes it as its output schema and returns the same result (GH-2090)Breaking:
dwd/observationhourlywind_synopticff, which DWD gives as the 10-minute mean of the wind speed (“10-Min-Mittel der Windgeschwindigkeit”), is namedwind_speed_last_10min(new), no longerwind_speed, which is the mean over the row’s interval. Requestwind_speed_last_10min;wind_speedis not found inhourly/wind_synoptic(logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested).ddstayswind_direction, as DWD states no window for it, and hourlywindfandd, DWD’s hourly means, keep theirs (GH-2697)Breaking:
dwd/poihourly mean wind speed and direction over the last 10 minutes are namedwind_speed_last_10minandwind_direction_last_10min(new), no longerwind_speedandwind_direction. Request the new names; the old ones are not found inhourly/data(logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested) (GH-2697)Breaking:
aemet/observationhourlyvvanddv, AEMET’s mean wind speed and direction over the 10 minutes precedingfint, are namedwind_speed_last_10minandwind_direction_last_10min(new), no longerwind_speedandwind_direction. Request the new names; the old ones are not found inhourly/data(logged and dropped, orNoParametersFoundErrorwhen no other parameter is requested; the hint forwind_directionnameswind_direction_gust_max, see GH-2644). The dailyvelmediakeepswind_speed(GH-2697)Breaking:
meteofrance/observation6-minute and hourly timestamps of the overseas departments (971-975, 984-988) are UTC. The files stamp them in a fixed offset per territory (“FU”, not always its legal time), which the library labelled UTC: Réunion’s (UTC+4) came back 4 h late, Saint-Pierre-et-Miquelon’s (UTC-4) 4 h early. Offsets: Guadeloupe, Martinique -4 h, Guyane -3 h, Mayotte +3 h, Wallis-et-Futuna +12 h, Polynésie -10 h, Nouvelle-Calédonie +11 h, TAAF per station. Drop a shift you applied yourself; a window for these stations now holds other readings. Daily and monthly dates, metropolitan France and Port Martin (offset unknown) are unchanged (GH-2677)Breaking:
count_weather_type_sleetiscount_weather_type_graupel. It was DWD’s graupel columns (graupel,rr_graupel,mo_graupel,ja_graupel) in theweather_phenomenadatasets ofdwd/observationdaily, monthly and annual and indaily/weather_phenomena_more. Request the new name; the old one in a request or as ats_geo_station_distancekey (now an error, it was a warning) is reported with its replacement. A tableto_targetwrote before holds the old name, as a wide column or inparameter: write it anew (GH-2696)
Fixed#
dwd/observationhourly/moisturereturns null, no longer-99.9(-0.999forhumidity_relative), forhumidity_absolute,pressure_vapor,temperature_wet_2m,humidity_relativeandtemperature_dew_point_2min the hours DWD has no reading for, so means and minima over these series are no longer pulled down (GH-2669)Breaking:
eccc/observationhourly values are stamped at the instant ECCC gives inUTC_DATE(Local Standard Time plus the station’s standard offset, all year). Stations on daylight saving were stamped one hour early from March to November, the standard-time hour that does not exist on the civil clock in spring got no timestamp, and the UTC hour after the autumn change was missing, and a station whose ECCC zone differs from the zone of its position (for example 50837, PST) was off all year. Summer stamps move one hour later, those stations by the difference in either direction, and the two lost hours are returned; a comparison or join made on the old stamps has to be redone. Daily and monthly are unchanged (GH-2675)noaa/ghcnhourlywind_directionno longer returns 999 for hours in which the older reports give no direction (mostly marked calm): the value is null, and dropped by default, so a mean or a wind rose over the series is no longer pulled to 999 degrees. The documented missing value of the hourlyprecipitationcolumn, -9999, is nulled too (GH-2672)Writing a NetCDF file no longer fails with
ValueError: unrecognized engine for to_netcdf: 'netCDF4'wherenetCDF4is installed andh5netcdfis not: the engine is named as xarray names it,netcdf4(GH-2666)Listing a directory (
list_remote_files_fsspec,list_remote_directory_fsspec) through a proxy that answers with an error status no longer raises or logs the proxy’sProxy-Authorizationheader: theClientResponseErroris redacted like a download’s is, retry warning included (GH-2603)dwd/derivedhourlysunshine_duration_uncertaintyis returned: it was declared with the global radiation’s columnfg_un_duett, which the sunshine duration file does not have, and so never came back; it is read fromsd_un_duett(GH-2614)Station names of
dwd/swsmosanddwd/roadno longer carry the trailing blank the catalogue pads some with (Darup,AD Südost: 38 and 33 stations), so an exact comparison of the name, such asname = 'Darup'in an SQL filter, matches them (GH-2616)Station names of
imgw/meteorologyandimgw/hydrologyno longer carry the trailing blank the lists pad some with (RADZIECHOWY,Tuliszków,LUDŹMIERZ) (GH-2616)The station name of
chmi/observationTřinec Oldřichovice Javorovýno longer ends in the blank the catalogue gives it (GH-2616)geosphere/observationstations that still report have noend_timestamp(null), as forchmi/observation; it was 2100-12-31, the date the list gives them, for about 470 stations. A filter for the stations still reporting tests for null instead of for a date in the future (GH-2616)geosphere/observationdailyprecipitation_amount,snow_depth,snow_depth_manualandsnow_depth_neware 0.0 on a day without precipitation or snow, no longer -1.0: the source’s-1=kein Niederschlag/-1=kein Schnee. A sum of precipitation over a month was short by one millimetre for every dry day. The other resolutions are unchanged (GH-2671)noaa/ghcnhourly stationsRUU71-00102(CHABAROWKA) andRUU71-00113(IRKUTSK) have no position, where the list puts them at latitudes of 135.117 and 104.367, off the globe, with latitude and longitude swapped; the hourly list drops any position outside latitude +-90 or longitude +-180, as it does for theBOGUSplaceholders (GH-2616)to_targetwith a protocol nothing here writes (ftp://x/y.csv) raisesExportRefusedError, as documented, no longer SQLAlchemy’sNoSuchModuleError, and the command line prints one line. An optional package that is not installed (DuckDB forsqlandduckdb://, SQLAlchemy for database targets, xarray, plotly, scipy, h5py) raisesMissingDependencyError, anImportErrornaming the extra to install, no longer a bareModuleNotFoundError; the command line prints it as one line, and the REST API answers 501 (GH-2637)A request to
knmi/observation,aemet/observationormetno/frostwithout a credential raisesCredentialMissingError, aValueErroras before, with the same message. The REST API and the MCP tools answer it with a 501 and a fixed sentence, no longer a 500 that tells the caller to set an environment variable on the server (the message goes to the server log), and the command line prints it in one line and exits 1, no longer with a traceback (GH-2638)dwd/observationparameter descriptions say what DWD publishes, where they said more or other (REST API, MCP, CLI, docs tables): the daily weather phenomena are the day’s occurrence, not “days with ripe/sleet” (reifis hoar frost,graupelis graupel); 10-minutefx_10andfnx_10no longer carry sampling details DWD does not state; 1-minuterth_01is the droplet gauge, not the tipping bucket; hourly gustfx_911is not “10 m above ground”; urban hourly values name the window DWD gives (temperatures and humidity: a 1-minute mean ending 10 minutes before the hour; precipitation, sunshine and wind: the six 10-minute values of the previous hour); dailytmkand the other term-based means say how DWD computes them; the datasetssubdaily/moistureandsubdaily/soilno longer claim mean temperatures and a soil temperature they do not hold (GH-2688)dwd/observationhourly/windand10_minutes/windreturn nowind_directionof 990 any more: the files write 990 where there is no direction (542,296 hourly rows in 314 stations, 17 of the 10 minute ones, historical files from 1952 on), which came back as 990 degrees and spoiled a wind rose or a vector mean. It is null now, as -999 is (GH-2686)
0.144.0 - 2026-10-10#
Fixed#
Writing to a
mssql://target creates text columns asNVARCHAR(max)instead ofVARCHAR(max)(TEXTbefore SQL Server 2012), so a character outside the column’s code page, such as theŁofŁódźor theřofTřeboňunderSQL_Latin1_General_CP1_CI_AS, is stored as it is and no longer as a?. A table that is appended to keeps its column types; alter them, or write to a new table (GH-2273)The station catalogues of
fmi,chmi,ipma,lhmt,metoffice,dwd/swsmosanddwd/phenology, and themetofficerelease listing, raiseDownloadErrorfor a download that failed – a timeout, a 5xx, a 404 – where they logged it and returned no stations: the REST API answers a 500 and the CLI fails, where a station request had an empty result with a success status. A connection that cannot be made at all still gives no stations; the catalogues log it at debug now, where they warned (GH-2519)The station catalogues of
smhi/observationandmetno/frostraiseDownloadErrorfor a download that failed – a timeout, a 5xx, a 404 – where they logged it and returned no stations (forsmhi/observation, the stations of the other parameters only): the REST API answers a 500 and the CLI fails. A connection that cannot be made at all still gives no stations, logged at debug (forsmhi/observation, when it fails for every list; for some only, it raises); Frost’s 401 and 403 stay aPermissionError(GH-2599)Wetterdienst.discover(),GET /api/coverageandGET /api/authlistmetoffice/observationas needing a credential (auth: true), so it is not configured, withvalidfalse, untilWD_AUTH__CEDAis set; it was listed as needing none and as configured and valid whether that variable was set, missing or malformed. The Explorer app hides it while it is not configured (GH-2594)Wetterdienst.discover(),GET /api/coverageandGET /api/authlist a provider that needs a credential as not configured when aWD_*variable is invalid, such asWD_AUTH__CEDAthat is nousername:password, and log the problem once; one malformed credential raised for the whole listing and, where the REST API’s start-up check is off, answered 500.Wetterdienst.is_configured(api)is that check for a single provider (GH-2580)Listing a directory of files on a host whose certificate does not verify, or that fails a TLS handshake, raises that failure (an
ssl.SSLError) after the retries, where it returned no files as if offline: providers that list first returned an empty result with no hint of why (GH-2581)Listing the contents of one directory (the DWD DMO and alerts indexes, IMGW) on a host whose certificate does not verify, or that fails a TLS handshake, raises an
ssl.SSLErrorafter the retries instead of the aiohttp error, whose repr rendered the password of a proxy named inHTTPS_PROXYinto the retry log and into messages that format it. Both areOSErrors, soexcept OSErrorkeeps catching it;except aiohttp.ClientErrorno longer does (GH-2590)Listing the contents of one directory (the DWD DMO and alerts indexes, IMGW) no longer leaves the password of a proxy named in
HTTPS_PROXYon the error when connecting fails some way other than TLS (a proxy that refuses the connection, a DNS failure, a reset during the connect): it is still aClientConnectorError, retried as before, but its repr no longer renders the password, and its traceback (whose frames held it), that of itsos_errorand its__cause__are dropped (GH-2602)A retried download or post that fails TLS through a proxy no longer logs the proxy’s password: stamina’s retry warning rendered the aiohttp error’s connection key, which holds
proxy_authand theuser:secret@of a proxy URL, whether the proxy came fromHTTPS_PROXYor fromclient_kwargs. The key is logged with both removed (GH-2582)A download or post refused by a proxy (the proxy answered CONNECT with an error status, or an
http://target behind it failed) no longer logs the proxy’sProxy-Authorizationheader, nor stores it inFile.content: it and theuser:secret@of the proxy URL are redacted from the error’s request info, as is anAuthorizationheader added byauth=; only a caller’s ownheaderswere before (GH-2592)Exporting a frame of 7 or more columns to a
sqlite://target no longer fails with “too many SQL variables” once it has more than 32766 / columns rows (from 4681 rows for 7 columns) on SQLite 3.32 and later: the rows per insert now follow the 32766 variables a statement may carry, where only the older limit of 999 was honoured (GH-2579)Exporting a wide frame to a SQLite target that names its driver, such as
sqlite+pysqlite:///a.sqlite?table=t, no longer fails with “too many SQL variables”: the cap on the rows per insert was applied only to targets startingsqlite://and is now applied to every SQLite target (GH-2589)wsv/pegelvalues, the DWD field descriptions read from PDFs and the script that regenerates the packaged OPERA radar sites raiseDownloadErrorfor a failed download, asFile.raise_if_exceptiondoes elsewhere, where they raised the stored error itself: a timeout there had an empty message and answered the REST API with{"detail": ""}. CatchDownloadErrorand read__cause__for the original (GH-2507)A
WD_*value in the environment or.envthat is nested too deeply to decode as JSON, such asWD_AUTH__CEDAset to 100000 opening brackets, is treated as text that is not JSON is:check_settings()names the variable andSettings()raises aValidationErrororSettingsError; text for a key of a dict setting is kept as it is. All three raised aRecursionErrorbefore:check_settings(),Settings()and so a provider’sis_configured(), which now raises theValidationError(GH-2543)KNMI and AEMET values requested with no network stop at the first download that finds none, per station, and return what was read before it (an empty frame if nothing), logged at debug as elsewhere. Every KNMI moment (720 for an hourly month) and every AEMET chunk was requested again before, and each skip logged a warning (GH-2558)
LHMT values requested with no network stop at the first day whose download finds none (a missing day is still skipped), per station, and return the days read before it (an empty frame if nothing), where every day of the range was requested again (GH-2591)
repr()andstr()ofSettingsmask the credentials infsspec_client_kwargs: every value but the timeout, the User-Agent header and booleans is masked, aproxyURL included. stamina’s retry warning for a failed file listing rendered the settings, proxy password andAuthorizationheader included.model_dump()still returns the values as given (GH-2593)
0.143.0 - 2026-10-08#
Changed#
Breaking: the path of a
duckdb://target is read as the path of a URI, as afile://one is:duckdb:////home/me/my%20data/obs.duckdbopens/home/me/my data/obs.duckdb, where it openedobs.duckdbin a directory namedmy%20dataand failed if there was none. A path holding a literal%followed by two hex digits, such as%20, must now write that%as%25(%2520); a%not followed by two hex digits is read as before (GH-2515)
Fixed#
A download or post that fails on a certificate that does not verify, or on a TLS protocol error, is reported as that failure (status 500) and no longer as being offline (503): callers that return an empty result for no internet now warn about it or raise instead (GH-2553)
An
mssql://export writes in inserts within SQL Server’s limits of 2100 parameters and 1000 rows, about 299 rows of a 7-column values frame. It sent 5000 rows at a time, so any export of more than a few hundred rows failed with “too many parameters” (GH-2268)A file the cache downloads is written beside its blob and renamed onto it once whole, so a concurrent request for the same URL, from another thread or process, no longer truncates a copy another reader is serving, and a body cut short leaves no partial file in the cache directory. Where Windows refuses the rename because the blob is open, that read is served from the file just fetched, the blob is kept and the next read fetches again (GH-2493)
metno/frostvalues read a failed download’s status before treating it as empty. A 404 now reaches the fallbacks written for it (each parameter alone, then its time series discovered), where the request returned no data; a 401, 403 or 500 is logged asFailed to download <url>where it passed as “no data” without a word (GH-2494)metno/frostvalues, when the request for a whole dataset 404s, resolve only the parameters asked for, not every parameter of the dataset: one hourly parameter cost up to 11 requests alone and 11 time series discoveries per station. A dataset of one parameter (6_hour) goes straight to the discovery instead of repeating the request that 404’d (GH-2554)KNMI and AEMET stations and values requested with no network, or with a connection that cannot be made (refused, DNS or TLS handshake failure), no longer wait through two more attempts per URL, 2 s and more apart, before returning empty:
download_file’s own two attempts are all there are. The retries for an HTTP 503 and for a 429 are unchanged (GH-2499)dwd/roadraises aDownloadErrorwhen every file of a station group fails with an error response or a timeout (403, 5xx); the request used to return an empty frame. When only some files fail, the readings of the others are returned and a warning names how many of how many failed; the same warning accompanies an empty result when all are 404 (withdrawn since the listing). A failure to connect, a refused certificate included, still gives an empty result, now with that warning (GH-2495, GH-2553)interpolate,summarizeand their_by_station_idvariants build a provider’s station list once, not two or three times: on a cold cache that is a round of upstream requests fewer, for DWD observation the station description files and the file index per period.filter_by_rankandfilter_by_distancetake the station list as an optionaldf_all(GH-2506)/api/stations,/api/values,/api/interpolate,/api/summarize,/api/historyand/api/issueslog an unknown provider or network as one info line, as do the first five for a network without stations or values (dwd/radar,dwd/alerts), and/api/historyone without station history. They logged an error with its traceback; the 404 is unchanged (GH-2532)WD_AUTH__CEDAwritten as a pair that is not valid JSON ([user, pa:ss]) is refused bycheck_settings()andSettings(); with a colon in it, it was split there into a username and password still holding the brackets, and failed at CEDA. A pair given in Python as valid JSON text ('["user", "pa:ss"]') is read as the pair. Ausername:passwordwhose username starts with[is read as a pair too, and refused; write it as["username", "password"](GH-2483)wetterdienst about coverage --resolutions=...or--datasets=...without--providerand--networkprinted the catalogue of every provider with the filter dropped; it is now a usage error (exit 2) naming the options it needs, as/api/coverageand the MCPcoveragetool already answer it with a 400. Add both options, or drop the filter (GH-2527)Settingslogs itsWetterdienst cache is ...line, and thets_drop_nullsnotice for a wide shape, once when built, no longer again on every field assignment orSettings.model_validate(settings). Ats_shapeassigned later logs nothing (GH-2504)WD_AUTH__METNO_FROST(andSettings(auth={"metno_frost": ...})) written asid:secret,id,secret,id secretor the text("id", "secret")is refused, as is any other lone text holding a character but an ASCII letter, digit or-, with a message naming the form["client_id", "secret"]; it was taken whole as the client id, secret included, and Frost refused the credential later.check_settings()reports it too (GH-2487)dmi/observationvalues for a long range, such as hourly data of station 06180 over six years, are read in windows (a year for hourly, ten for daily) that stay below DMI’s offset cap of 500000: a request reaching offset 600000 was cut off there, and failed with a 400 since failed downloads are raised. No offset above the cap is asked for any more (GH-2520)A lone
WD_AUTH__METNO_FROSTclient id is kept without the whitespace around it, such as a newline in a.envvalue, the\rof a CRLF file, an NBSP or U+2028; it was sent to Frost with the padding and refused there. Text of nothing but whitespace, or""given in Python, reads as unset, as an empty value in the environment does, where it counted as a configured client id (GH-2542)WD_AUTH__KNMI,WD_AUTH__AEMET, both halves ofWD_AUTH__CEDA, and each element of aWD_AUTH__METNO_FROSTpair are kept without the whitespace around them (a newline from a.envvalue, a CRLF); they were sent to the provider with it and refused there. A key of nothing but whitespace, and a CEDA or Frost pair whose username or client id is blank, now read as unset, as a lone Frost client id does; they counted as configured and sent empty credentials. A password or secret with whitespace at its edges loses it too (GH-2557)
0.142.0 - 2026-10-08#
Changed#
Breaking: a station history’s records – station and operator names, parameters, devices, geography, missing data – give their span as
valid_fromandvalid_to, where they gavestart_dateandend_date: in Python’sHistory,/api/history, the MCPhistorytool and the CLIhistorycommand. Read the new names (GH-2440)Breaking: the single date or interval a request names is
timestamp, no longerdate:/api/values,/api/interpolate,/api/summarize,/api/alertsand their MCP tools,--timestampof the CLI’svalues,interpolate,summarizeandalerts, andDwdWeatherAlertRequest(timestamp=...)with its attribute.timestamp. Writetimestamp=2020-05-01where you wrotedate=2020-05-01; the old name is refused with an error naming the new one. The app sendstimestampfrom its next release; 0.18.1 and older senddate, so upgrade the app with the backend (GH-2438)Breaking: the request window is
start/end, no longerstart_date/end_date: writeDwdObservationRequest(..., start=..., end=...)for every provider’s request andDwdRadarValues, read.start/.endoff a request or aStationsResult, and pass--start/--endon the CLI. The old keywords and options fail with an error naming the new one; reading the old attributes, or passing them by keyword toTimeseriesRequest.convert_timestamps, is a plain Python error. Error messages that named the pair namestart/end(GH-2437)Breaking: the span a station has records for is
start_timestamp/end_timestamp, no longerstart_date/end_date: in every provider’s stations frame and its exports, and wherever a station is returned –/api/stationsand the MCPstationstool, the OGC feature properties, values with stations, interpolate, summarize,/api/stripes/stationsand the station in the/api/stripes/valuesmetadata. Read and filter the new names, and rename the columns of a database table you append stations to; asqlfilter on a station’s old name fails naming the new one. The app reads the new names from its next release, so upgrade the app with the backend (GH-2439)Breaking:
/api/auth,/api/coverage,/api/glossary,/api/stripes/stationsand/api/alertsrefuse a query parameter they do not take with a 422, as/api/stationsand/api/valuesdo, and every MCP tool refuses an argument it does not take, naming the ones it does. Both used to answer as if it had not been given, so a misspeltlimitreturned every match. Drop parameters an endpoint or tool does not take, such as a cache buster (GH-2479)CLI:
stationsreports a request the caller can rephrase – an unknown parameter, a bad bounding box, a--sqlDuckDB refuses – as a one-line usage error with exit code 2, where it printed a traceback.historyon a network whose stations have no history, such asdwd/mosmix, andabout coverageon a standalone network such asdwd/radarare usage errors too, where they exited 1. Scripts checking for exit 1 on these now see 2; an upstream failure still exits 1 with its traceback (GH-2465)Breaking: in a DWD observation station’s history, the current position in
geographyhas a nullvalid_to, where it was the time the history was read and changed on every call. A name or operator still in use was null already. Read a nullvalid_toas a position that still applies (GH-2474)Breaking: a download that failed raises
wetterdienst.exceptions.DownloadErrorthroughFile.raise_if_exception, which most providers use, where it raised the stored error itself (FSTimeoutError,ClientResponseError,FileNotFoundError, aiohttp’s connection errors). Its message isFailed to download <url>: <reason>with the URL stripped of query, fragment and user information, so the REST API’sdetailand the CLI name the file. CatchDownloadErrorand read__cause__for the original error (GH-2460)Breaking: a station the provider gives no end has a null
end_timestampin the station list ofeaufrance/hubeau(every station it lists) and ofdwd/observation1-minute precipitation from the historical period, where it was the time of the call or the day before. Read a nullend_timestampthere as a station the provider has not closed (GH-2482)Values of
dwd/phenology,dwd/poi,dwd/swsmos,chmi,fmi,ipma,dmi,rmi,metoffice,lhmt,meteofrance/synopandmeteofrance/observationraise a data download that failed – a timeout, a 5xx – asDownloadError, where they logged it and returned no data for the station, or went on to the next file: the REST API answers a 500 and the CLI fails, and so do interpolate and summarize where a station they read fails. A 404 still gives no data atdwd/poi,dwd/swsmos,chmi,lhmt,metoffice,meteofrance/observationand, for the current year,meteofrance/synop, and raises at the others.fmigives no data for a 400, which it answers for a station it does not know. A connection that cannot be made at all still gives no data (GH-2461)
Fixed#
stations,values,interpolate,summarizeandhistoryondwd/radarordwd/alerts, which have no stations or parameters to select, are refused with a 404 naming/api/coveragein the REST API and a usage error (exit 2) in the CLI, where they failed with an AttributeError: a 500 and a traceback.historyon a network without station history (dwd/mosmix) is refused before its station catalogue is downloaded, so an upstream failure no longer hides it (GH-2492)The CLI’s
about coveragerefuses--providerwithout--network, and--networkwithout--provider, with a usage error (exit 2) naming the missing option. It printed every provider with exit 0, as if neither had been given; with neither it still lists them (GH-2498)/api/glossaryand the MCPglossarytool refuse alimitbelow 1 with a 422, as the CLI’s--limitalready does; a limit of 0 or below answered one entry with a 200 (GH-2497)geosphere/observationvalues without dates, at 10 minutes or hourly, and long windows no longer fail: the API refused a slice of more than 1,000,000 data points (the 10-minute record is 1.8 million), and answered one of more than about 6 years at 10 minutes too slowly for the read timeout. A window is fetched in several requests, two years each at 10 minutes and ten years each hourly for one parameter (GH-2466)geosphere/observationvalues ask the API for all the requested parameters of a dataset in one request, not one request per parameter. A whole dataset of a station without dates took 285 to 414 requests at 10 minutes or hourly and stopped at the API’s 240 requests an hour with an HTTP 429; it takes about 105 (10 minutes), 62 (hourly), 4 (daily) and 1 (monthly). The windows get shorter with more parameters, as the API counts timestamps times parameters towards its limit of 1,000,000 data points, and a whole daily dataset is now fetched in windows too (GH-2517)A
file://target ofto_targetand of the CLI’sstations,values,interpolate,summarize,historyandalertsis read as the path the URI names:%20and other percent-encoding is decoded, and on Windowsfile:///C:/data/obs.csvisC:/data/obs.csv. Both wrote to the wrong path. A path with a literal%20in afile://target is now written%2520; a plain path is read as given (GH-2454)/api/valuesand the MCPvaluestool log a request they refuse with a 400 – an unparseable timestamp, an unknown parameter or period – as one info line, as/api/interpolateand/api/summarizedo. Each was logged as an error with its traceback; the status is unchanged (GH-2459)/api/stations,/api/issues,/api/history,/api/stripes/valuesand/api/stripes/imagelog a request they refuse with a 400 as one info line, as/api/valuesdoes, where they logged an error with its traceback; the status is unchanged./api/issueson a network without issue listing is a 400 that was never logged and still is not (GH-2512)WD_USE_CERTIFI=truenow reaches every download ofgeosphere/observationvalues,ea/hydrologyvalues,metno/froststations, values and credential check, anddwd/roadvalues. They went out with the system CA store, so where that store cannot verify the upstream they failed SSL verification even with the setting on (GH-2463)A
WD_AUTH__METNO_FROSTpair that is not valid JSON, such as[myid, mysecret]with its elements unquoted, is refused, andcheck_settings()names it. It was taken whole as the client id, secret included, and sent to Frost, which refused it. Quote each element:["myid", "mysecret"]. A pair given in Python as that text is read as the pair (GH-2464)A download through the cache (any TTL but
CacheExpiry.NO_CACHE, cache not disabled) reports the failure it met, as one without the cache does: an HTTP error other than 404 comes back with its own status – a 401, 403 or 429 too, whichdownload_fileno longer asks again – and a refused connection as 503 withNoInternetError, where all wereFile(status=404)withFileNotFoundError, as a missing file is, and a provider that skips a missing file, such as DWD derived’s months, skipped them too. KNMI’s and AEMET’s own retry of a 429 or 5xx now applies through the cache too. A cache miss is one GET instead of two, and a body that ends before itsContent-Lengthis no longer read back from the cache by the retry (GH-2467)filter_by_name,filter_by_rankandfilter_by_bboxbuild the station list once, where they built it twice,filter_by_distanceonce instead of four times, andinterpolateandsummarizetwice instead of six times: that much less parsing, and withWD_CACHE_DISABLEor a provider that does not cache its station list, that many fewer downloads.filter_by_distanceon a request with no stations finds none, where it raised “‘rank’ has to be at least 1.” (GH-2475)A request built from a
Settingsobject, as the CLI builds its requests, uses it as it is rather than validating it again, so the cache line and thets_drop_nullsnotice of a wide shape are logged once, when the settings are built, rather than twice. Settings given as a dict are validated as before (GH-2476)DWD road values and radar BUFR reads import
pyproj, where it is installed, before they loadeccodes. On Linux, with theeckitlibwheel pip installs besideeccodes, a process that usedpyprojor wradlib after such a read aborted at exit with status 134 or 139 (ecmwf/eckit#354); it now exits cleanly, unless something importedeccodesbefore wetterdienst did (GH-2468)/api/values,/api/interpolate,/api/summarizeand their MCP tools word atimestampthat ends before it starts, or is missing for an interpolation or a summary, in terms oftimestamp(“the interval in timestamp ends before it starts”), where they named the request’sstartandend, which their callers cannot pass. Python callers keep the request’s message, andReversedTimeIntervalErrorandMissingTimeIntervalErrorare subclasses of the exceptions they raised (GH-2478)wetterdienst values,interpolateandsummarizeword a window that ends before it starts in terms of the options (“the interval in –timestamp or –start / –end ends before it starts”), where they printedError: Error: 'start' must be smaller or equal to 'end'.. Python callers get the request’s message without the strayError:prefix (GH-2513)/api/valuesand its MCP tool answer a dataset that is queried by a window (ECCC, DMI, Geosphere, NOAA GHCN and others), requested without atimestamp, with “timestamp is required for this dataset”, where they said “Start and end date required for single period datasets”;/api/interpolateand/api/summarizedo the same for an emptytimestamp. The CLI’svaluessays “–timestamp or –start / –end is required for this dataset”. Python callers keep the old message; the newDateRequiredErroris a subclass ofStartDateEndDateErrorand also ofMissingTimeIntervalError, soexcept InvalidTimeIntervalErrorandexcept ValueErrornow catch it too (GH-2514)wetterdienst stripes valuesrefuses a--targetthat is a URI (s3://...,file://...) before it fetches and renders, as a usage error (exit 2) naming--target; the write to the path read off the URI (s3:/bucket/...) failed only afterwards. A--targetwhose extension does not match--formatis a usage error too, exit 2 where it was 1. Pass a local path (GH-2450)/api/coverageand the MCPcoveragetool answer 404 for an unknown provider or network, pointing at/api/coverage, where they answered a bare 500. With no provider and network the list of every provider honourspretty, so it comes back compact by default, not indented as before; passpretty=truefor the indented form.resolutionsordatasetswithoutproviderandnetworkis refused with a 400, where the full list came back unfiltered; pass both with them, or drop the filter (GH-2496)
0.141.0 - 2026-10-06#
Added#
The JSON of
/api/stripes/valuesand the MCPstripes_valuestool name the unit of their values in a new metadata fieldunit:degree_fahrenheitwhere the server’sWD_TS_UNIT_TARGETSconverts temperatures to it, the source’s unit withWD_TS_CONVERT_UNITS=false, anddegree_celsiusormillimeterby default (GH-2372)
Changed#
The
restapiextra now needsfastapi>=0.142(was>=0.115), which bringsopentelemetry-api; upgrade fastapi where it is pinned lower. The REST API turns off fastapi’s OpenTelemetry export fromOTEL_*variables: to export, set up a provider yourself, e.g. withopentelemetry-instrument. Such a provider now gets fastapi’s spans, metrics and logs, or, where theopentelemetry-instrumentation-fastapimiddleware runs, that instrumentation’s (GH-2407)REST API:
/api/interpolateand/api/summarize, and the MCP tools of the same names, answer a point there is no estimate at – beyond the latitudes UTM covers (80°S to 84°N) on interpolate, or astationwithout a position – with a 400 rather than a 404, as they answer an elevation no station can be placed against. The server logs it as an info line, not as an error with its traceback (GH-2385)Values of
dwd/observation,dwd/derived,imgw/hydrologyandimgw/meteorologyraise a download that timed out, where they used to drop it as a missing file and return no data for the station: the REST API answers a 500 and the CLI fails, and so do interpolate and summarize where a station they read times out. A 5xx after the retries is raised the same way only with the cache off (WD_CACHE_DISABLE=true); with it on, a 5xx still reads as a missing file (GH-2430)CLI:
values,interpolate,summarize,issues,stripes valuesand the station lookup ofhistoryreport a request the caller can rephrase – such as a parameter the network does not have, a network without an issue listing, or a point there is no estimate at – as a one-line usage error with exit code 2, and so does every command for an unknown provider or network. Scripts checking for exit 1 on such a mistake now see 2; an upstream failure still exits 1 with its traceback (GH-2426)REST API:
/api/interpolateand/api/summarize, and their MCP tools, answer the other requests they refuse as phrased – an empty or unparseabledateor one as late as 9999-12-31, an unparseableissueor one the source does not list, an unknown parameter or unit target, asql_valuesclause DuckDB refuses – with a 400 rather than a 404, the status/api/valuesgives them. An unknownstationstays a 404. The server logs these, and a window that ends before it starts on any of the three, as an info line, not as an error with its traceback (GH-2429)
Fixed#
MCP: an MCP tool’s in-process request to the REST API gets no fastapi server span and no
http.server.*metrics of its own. It started a trace of its own, cut off from the tool call’s, and counted each tool call a second time. Over/mcp, fastapi’s operation spans for it now sit beneath the tool call’s span. The middleware ofopentelemetry-instrumentation-fastapi, where it runs, still records the request (GH-2432)On Windows, DWD road values and DWD radar BUFR read with
Settings(read_bufr=True)decode. Road values raisedPermissionError, and radar logged “Unable to read BUFR file.” and leftresult.dfasNone(GH-2446)Settingsreads anullFrost secret in aWD_AUTH__METNO_FROSTpair as no secret, and refuses any othernull,true, float or object in aWD_AUTH__METNO_FROST/WD_AUTH__CEDApair with aValidationErrornaming the element (auth.ceda.1;WD_AUTH__CEDA[1]in the CLI’s message). Such an element was taken as the text of its repr,NoneorTrue(GH-2434)A
ValidationErrorfromSettingsorAuthno longer repeats the value it refuses as itsinput_value, which forauthis a credential;errors()still holds it (GH-2435)A
file://target ofto_target, and of--targetonstations,values,interpolateandsummarize, reads everything afterfile://as its path, asalertsandhistorydo:file://out/data.csvwrites./out/data.csv, where it wrote/data.csvwithoutread as a host.file:///abs/data.csvis still absolute; a host is now read as a directory, so writefile://localhost/abs/data.csvasfile:///abs/data.csv(GH-2424)NOAA GHCN daily stations QOORNOQ and ARSUK on the coast of Greenland and SORFJORD_KRV and SKJOMEN_SLETTJORD by the fjords near Narvik, the four rows listed at -100.0 m, have a null
elevationinstead of one 100 m below sea level. Real heights below sea level, such as DEATH VALLEY NP’s, stay (GH-2418)NOAA GHCN hourly station GJBAKKI (
ICM00004919) in southwestern Iceland, the one row listed at -99.0 m, has a nullelevation.interpolateandsummarizegiven an elevation moved its air temperatures and dew points from about 100 m below sea level; they now leave it out for those, as other stations of unknown elevation. Real heights below sea level stay (GH-2377)wetterdienst stripes valueschecks--target’s suffix against--format:--format=jpgnow takes a.jpegtarget, and a target merely ending in the format’s letters, such asstripespngorout.xpng, is refused instead of written without the extension. The refusal names the suffixes it takes,'.png'where it said'png'(GH-2371)Settingstakes an all-digitWD_AUTH__METNO_FROSTas the Frost client id it is, and refuses aWD_AUTH__CEDAorWD_AUTH__METNO_FROSTthat is neither text nor a pair, such as5,trueor a JSON object, with aValidationErrornamingauth.ceda/auth.metno_frost. It raised a bareTypeErrorthat named nothing, or took a JSON object’s keys as the pair (GH-2379)A credential assigned to
settings.authafter construction, such assettings.auth.knmi = "key", is held as a secret and checked as one given to the constructor is: ausername:passwordtext forcedais split, and the mask a JSON dump leaves behind is refused. It was kept as plain text, whichreveal()and the providers failed on (GH-2387)wetterdienst issuesreports a refused option, such as--lead_timeon MOSMIX, as a one-line usage error with exit code 2 instead of a traceback with exit code 1. An upstream failure still logs its traceback and exits 1 (GH-2368)The climate stripes refuse a station that returns no rows, such as one whose data file is missing, with
NotEnoughDataError(“has data for no year”): a 400 from/api/stripes/valuesand/api/stripes/imageand their MCP tools, and that message fromwetterdienst stripes. They raised polars’ComputeError, a 500 (GH-2369)wetterdienst history --target file://history.json, the form its docs show, writeshistory.json. Thefile://prefix was kept, so the write went tofile:/history.jsonand failed with “No such file or directory”. A plain path works as before (GH-2370)The Docker image reads BUFR: DWD road weather data, and radar BUFR with
read_bufr. It had the eccodes bindings but no ecCodes library behind them; it now installs Debian’s, which adds about 55 MiB. That library is 2.41.0, so the bindings warn on import that 2.42.0 is recommended (GH-2409)Settings()no longer fails where no home directory resolves (HOME unset and the uid missing from the password database), which it did with platformdirs 4.12 even withcache_disable=True. WithoutWD_CACHE_DIRthe cache is then kept in a temporary directory, one per process and removed at exit, with a warning to setWD_CACHE_DIRorHOME; a~directory below the working directory is no longer created with older platformdirs either (GH-2408)Reading BUFR (DWD road weather, radar with
read_bufr) no longer warns “ecCodes 2.42.0 or higher is recommended” with an older ecCodes library, such as Debian trixie’s 2.41 or Ubuntu 24.04’s 2.34; the version is logged at debug instead. Under-W errorthis advice no longer gets BUFR reported as not installed either. To see the advice, import eccodes before wetterdienst does. Other warnings still show (GH-2442)wetterdienst historyrefuses a--targetwith a scheme other thanfile://, such ass3://bucket/history.json, asalertsdoes: a usage error with exit code 2 before anything is fetched. It ran the whole fetch first and then failed to write the file (GH-2425)
0.140.0 - 2026-10-05#
Added#
WSV Pegelonline and Eaufrance Hub’Eau stations name the vertical datum of their
gauge_zeroin a new string columngauge_zero_datum: Pegelonline’s as published (m. ü. NHN,m. ü. NN, …), Hub’Eau’s as the Sandre label ofcode_systeme_alti_site(IGN 1969, …), or the code where it has none. Stations differ in it, so compare gauge zeros only where it agrees, and not between Hub’Eau stations labelled as on an unknown or a local system (GH-2228)wetterdienst issues,/api/issuesand the MCPissuestool list the DWD SWSMOS runs, andDwdSwsmosRequest.available_issues(settings)returns them as UTC datetimes. They refused dwd/swsmos as unsupported. One run holds every road station, so the list is the same for any station (GH-2319)GET /api/settingsreports the settings/api/values,/api/interpolateand/api/summarizetake where a request leaves them out: the server’sWD_TS_*variables over wetterdienst’s defaults, with the unit of every quantity. Withwith_metadata, those three endpoints’ JSON and GeoJSON, and their MCP tools’, carry asettingsblock next tometadata, with the settings the result was got with. Their OpenAPI schemas, which declare it, are now named_ValuesWithSettingsDict,_ValuesWithSettingsOgcFeatureCollectionand so on (GH-2359)GET /api/settingstakes the settings query parameters of/api/values,/api/interpolateand/api/summarize, and answers what they resolve to over the server’s, for each endpoint that takes the parameter. A value one of them refuses is refused here with its 400 or 422, and an unknown parameter is a 422, as on those endpoints. Nothing is stored on the server (GH-2383)
Changed#
pydantic-settingsnow has a floor of>=2.14.0(was>=2.7.0):Settingsreads.envwith itsdotenv_filteringoption, which 2.14.0 added. Upgrade it where it is pinned lower (GH-2349)Breaking: DWD derived
monthly/soilreturns its monthly totals of potential evapotranspiration as the newevapotranspiration_potential_grass_faoandevapotranspiration_potential_grass_haude, where they came as the daily..._last_24hnames. Use the new names for monthly in requests,parameterfilters, wide-frame columns andts_geo_station_distance; daily keeps..._last_24h(GH-2042)Breaking:
/api/stripes/*and MCP match a stripesnameat a threshold of 0.8 by default, as the CLI and the stations and values requests do; it was 0.9, so a name may now find a station where it found none. Passname_threshold=0.9to match as before (GH-2063)Climate stripes are coloured over the years asked for: with
start_yearandend_year, the lowest and highest of them take the ends of the colour map, andvalue_scaledin the CSV of/api/stripes/valuesruns from 0 to 1 over the years returned. They were scaled over the station’s whole record (GH-2063)Breaking:
/api/stripes/valuesand/api/stripes/imagerefuse neither or both ofstationandname, anend_yearnot afterstart_year, or aname_thresholdoutside 0 to 1 with a 422 of typed entries, as the other endpoints do, where they answered a 400 with a stringdetail. An unknown query parameter is a 422 as well. Match on the entries’type: each is located at a parameter, but neitherstationnornameat["query"]alone.wetterdienst stripes valuestells the same refusals in click’s terms, with exit status 2 where it was 1 (GH-2060)Breaking: the REST API and MCP refuse with a 422 a stations, values or history request they answered before: one selecting stations in two ways, answered for the first (
stationwithnamereturned the station alone), and one sendingrankordistancebeside anything but a point (orrankbesidename), which was ignored. No selection, or half a point or bounding box, is a 422 where it was a 400. Each error is located at the parameter it concerns, typedmissing_one_of,mutually_exclusive,missing_withorrequires, the others inctx. Send exactly one ofall,station,name, a point withrankordistance, a bounding box, orsql, and drop arankordistanceleft over from a point (GH-2056)wetterdienstno longer depends on cloup. Each command’s--helplists its options in one list – what is requested, which stations, then the output – and ends with examples, andwetterdienst --helpis a short overview rather than a hand-kept copy of every option. The CLI takes--rankbeside--name, as the REST API does. A refused request is told in click’s own terms, a line per problem –Missing option '--longitude',Options '--station' and '--name' cannot be used together,Invalid value for '--distance'with the value refused – instead of pydantic’s echo of every option given (GH-2056)Breaking:
DwdDmoRequest.available_issueslists the runs oflead_time="short"by default, as its docstring said and a default request reads; it listed every lead time, sowetterdienst issuesand/api/issuesnamed runs the defaultvaluesrequest rejected withIndexError. Passlead_time="long"(--lead_time long) for the long runs, orlead_time=Nonein Python for every lead time together (GH-2009)Breaking: DWD DMO refuses the values of a request naming a parameter its lead time’s run does not carry with
ParameterNotCarriedError, aValueErrornaming the lead time that does, where the parameter answered with an empty frame:icon’s four 3-hourly parameters under the defaultlead_time="short", its three 1-hourly ones under"long". The REST API answers 400. Ask for them with the lead time named, apart from any parameter only the other lead time carries; a request for a whole dataset is not refused (GH-1976)Breaking:
cloud_cover_below_1000ftiscloud_cover_below_2km. It is DWD’snlindwd/mosmixanddwd/dmo, low cloud below 2 km, which the old name and its glossary entry put at 1000 ft. Request the new name; the old one in a request, as ats_geo_station_distancekey or as a wide column in a SQL filter is reported with its replacement. A wide DuckDB, SQLite or PostgreSQL tableto_targetwrote before takes no append of it: write it anew (GH-1977)Breaking:
imgw/meteorologydaily/precipitationreturnsprecipitation_amountas 0 mm, withquality11, for a day the file leaves out of a month the station reports in; such a day was missing. Dropquality11 to get the rows as before. Other parameters and datasets are unchanged (GH-2000)Breaking: Eaufrance Hub’Eau stations list the altitude of the gauge’s zero, in metres, as
gauge_zero, as WSV Pegelonline does; it was listed aselevation. Readgauge_zerofor it (GH-2020)Each station history gives the
resolutionanddatasetit belongs to beside itsstation_id, whicheversectionsare asked for. DWD observation answers up to one history per station and dataset, and a request for several datasets left them to be told apart by the records inside (GH-2224)Breaking: the
postgresqlextra installs psycopg 3 instead of psycopg2, and a barepostgresql://target writes through psycopg 3 whenever it is installed, on every SQLAlchemy version; under 2.1 it failed withNo module named 'psycopg'.postgresqlandmysqlbring SQLAlchemy and pandas, so neither needsexportbeside it. Forpostgresql+psycopg2://, installpsycopg2-binaryyourself; the Docker image has psycopg 3 only, so drop+psycopg2there (GH-2202)Eaufrance Hub’Eau stations list as
elevationthe altitude of their site,altitude_sitefrom Hub’Eau’s sites referential, in metres. It is null where the site gives none, gives 0, or gives one below -10 m or from 4810 m up, and for every station when that referential cannot be read, which is logged as a warning. About three stations in four have one (GH-2223)Breaking:
/api/values,/api/interpolate,/api/summarizeand their MCP tools answer a failure on the server’s or the data source’s side with a 500 carrying its message, where values answered 400 and the other two 404. Retry or report a 500 rather than rephrasing. A request refused for what it asks keeps its 400 or 404. Those refusals that raised a bareValueErrororIndexErrorraise a subclass of it:InvalidTimeIntervalError,InvalidEnumerationError, or the newInvalidBoundingBoxError,LocationOutOfRangeErrorandIssueNotFoundError. CatchInvalidTimeIntervalErrorfor the day9999-12-31, which raisedOverflowError, andLocationOutOfRangeErrorfor a point outside UTM, which raisedutm.error.OutOfRangeError(GH-2252)Breaking:
/api/stations,/api/history,/api/issues, the/api/stripesendpoints and their MCP tools answer a failure on the server’s or the data source’s side to read what was asked for with a 500 carrying its message, where they answered 400, as/api/valuesdoes. Retry or report a 500 rather than rephrasing. A request refused for what it asks keeps its 400 (GH-2276)Breaking:
/api/alertsand its MCP tool answer a failure to list, download or read DWD’s CAP feed with a 500 carrying its message, where they answered 400. Retry or report a 500 rather than rephrasing; adatethat does not parse or lies before DWD’s rolling window keeps its 400, and one an offset carries past a datetime’s range is a 400 where it was a 500.DwdWeatherAlertRequest.query()raises a date before the window asInvalidTimeIntervalError, still aValueError, and a listing without any snapshot asFileNotFoundError(GH-2294)The
mysqlextra takes pandas 3, as the other extras that bring pandas do. It asked for pandas below 3, so installing it downgraded an environment on pandas 3 to 2.x (GH-2250)DWD DMO’s coverage, from
discover,/api/coverage, the CLI and MCP, gives each parameterlead_times: the lead times whose run carries it, such as["long"]foricon’sprecipitation_amount_last_3hand["short"]for everyicon_euparameter. A caller can offer only what thelead_timeit sends will answer; the other keys are as they were (GH-2256)Breaking: a dict given as
fsspec_client_kwargsorWD_FSSPEC_CLIENT_KWARGSis merged into the defaults,headersone level deep, where it replaced them, so the docs’ proxy example{"trust_env": True}no longer drops the 30 s timeout and the User-Agent. A key given still wins: give"timeout": Nonefor aiohttp’s own timeout, which a dict without one used to get, and aUser-Agentheader of your own to send that instead of wetterdienst’s (GH-2269)Breaking: the InfluxDB sinks read a target as the SQL sinks’ SQLAlchemy does: the password ends at the first
@, and the username, password and database are percent-decoded, as the CrateDB database (its schema) now is too. Write an@in an InfluxDB org, password or token as%40, and a literal%followed by two hex digits there or in an InfluxDB database or CrateDB schema as%25. An@in the path or query of an InfluxDB or CrateDB target with ahost:portis read as ending a password too; write it as%40there (GH-2248)Breaking: the InfluxDB 3 sink connects with the scheme and port its target names:
influxdb3://is http andinfluxdb3s://https, on the target’s port or, with none, 8181 (an InfluxDB 3 Core’s) for http and 443 for https. It took only the host and went to https on 443 whatever the target said, so a local InfluxDB 3 Core could not be reached. Write an https server, such as InfluxDB Cloud, asinfluxdb3s://(GH-2279)Breaking:
Settingsrefuses ats_skip_thresholdoutside (0, 1], as--skip_thresholddoes. One above 1, asWD_TS_SKIP_THRESHOLD=5, skipped every station underts_skip_empty, andvaluessaid “No data available” with no hint at the setting. Such a variable, or one of 0, now fails everySettings(); correct or remove it./api/valuesanswers askip_thresholdof 0 with a 422, and the MCPvaluestool refuses it; to skip no station, leaveskip_emptyoff (GH-2334)Breaking: DWD SWSMOS raises
IssueNotFoundErrorfor anissuenaming a run DWD does not hold, as MOSMIX and DMO do, so the REST API answers it as the caller’s error. It returned no rows, as if the run held nothing for the station. CatchIssueNotFoundError, or pick the issue fromDwdSwsmosRequest.available_issues(GH-2324)A NOAA GHCN station asked for at both
hourlyanddailyhas the daily list’selevationon its hourly row as well, where the two lists put it within 5 km of each other, unless the daily list gives 0.0 against an hourly height. Interpolate and summarize, by station id or by point, then use one elevation for such a station whatever the order of the parameters. Otherwise each row keeps its own list’s elevation. A request for one resolution is not affected by this (GH-2336, GH-2362)Locked dependencies refreshed within their declared ranges – 21 packages, among them duckdb 1.5.6, platformdirs 4.12.2, and SQLAlchemy 2.1.2 and xarray 2026.9 on Python 3.11 and later; 3.10 keeps the release lines that still support it (GH-2403)
Deprecated#
summarize’suse_nearby_station_distance(the CLI’s--use_nearby_station_distance,/api/summarizeand the MCPsummarizetool) is deprecated and will be removed in a future release. It never had an effect on a summary; leave it out. The CLI warns when it is given, the REST API logs it, and the schema marks it deprecated. The settingts_geo_use_nearby_station_distancestays, for interpolation (GH-2333)
Fixed#
Settingsignores a key of.envthat is no setting, such as another program’sPOSTGRES_PASSWORD, as it ignores one in the environment. Such a key made everySettings()fail with its value in the error, and the CLI commands and the REST API that read the settings refused to run. AWD_*key that names no setting, such as the misspeltWD_CACHE_DIABLE, is ignored too, as in the environment. A keyword toSettings(...)that is no setting is still refused (GH-2349)Settingsno longer takes a.envkey without theWD_prefix for the setting it names, as it did with pydantic-settings older than 2.11, which the>=2.7.0floor allowed: another program’sCACHE_DIRorTS_SHAPEset wetterdienst’s cache directory or result shape (GH-2373)Settingsrefuses a non-emptyts_geo_station_distanceorts_geo_station_distance_resolution_factorsthat is not a mapping, such asWD_TS_GEO_STATION_DISTANCE=5, with aValidationErrornaming the setting, where it raised a bareTypeErrorthat named nothing (GH-2353)Climate stripes values and images (CLI
stripes values,/api/stripes/values,/api/stripes/image, MCPstripes_valuesandstripes_image) no longer fail underWD_TS_SHAPE=wide, which raisedColumnNotFoundError, or underWD_TS_SKIP_EMPTY=true, which raised aComputeErrorfor a station with gaps in its record. They read the values long and unskipped whatever those two say (GH-2348)wetterdienst issues --dataset/--lead_time, and the/api/issuesand MCPissuesdescriptions ofdatasetandlead_time, said other networks ignore them. They are DWD DMO only, and MOSMIX and SWSMOS refuse them, so leave them out there (GH-2347)Interpolate and summarize answer under
ts_humanize=Falseandts_shape="wide", however they are set:Settings,WD_*, the CLI’s or REST API’shumanize. The first returned no data and the second raisedColumnNotFoundError. The result is long either way, its parameters named by the source’s codes underts_humanize=False(GH-2331)The
/api/valuesdescription, which is the MCPvaluestool’s, and the MCP instructions said thevaluesarray is sorted by timestamp. It is grouped by station, then by resolution, dataset and parameter, in timestamp order within each group, so a parameter’s latest timestamp is the last of its group. The description now also says what a wide item and a GeoJSON response hold (GH-2295)Values: a station asked for several datasets is no longer skipped when one dataset has no
start_datein the station list and another starts afterend_date. With NOAA GHCNhourlyanddailytogether, such a station returned no hourly values inside the window (GH-2292)Interpolation and summary take a station’s elevation from another requested resolution’s row where the first row they read gives none. With NOAA GHCN
hourlynamed beforedaily, the..._by_station_idmethods answered without the elevation of 859 stations the hourly list gives none for (6 the other way round), and an answer at an elevation could leave such stations out (GH-2300)/api/valuesand its MCP tool answerunit_targetsnaming a quantity the converter does not have, such as{"foo": "bar"}, with a 400 saying so, where they answered a bare 500 (GH-2272)/api/interpolate,/api/summarize,/api/alertsand their MCP tools answer a malformedWD_*setting in the server’s.envwith a bare 500, where they answered 400 with the setting’s value indetail;/api/stations,/api/historyand/api/issuesno longer give the value in their 500. A request refused for what it gives keeps its 400 (GH-2297)wetterdienst valuesrefuses such--unit_targetswithInvalid value for '--unit_targets'and exit status 2, where it died with a traceback (GH-2296)Settingsrefuses ats_unit_targetsunit the converter does not have for its quantity, such as{"temperature": "furlong"}, or one only a source publishes in. It was refused once the stations had been fetched, so the CLI died with a traceback;values,interpolateandsummarizenow exit with status 2, and/api/interpolateand/api/summarizeanswer 400 where they answered 404. Such a unit inWD_TS_UNIT_TARGETSnow fails everySettings(), as an unknown quantity there does, where it broke only values requests: set when the REST server starts, it stops it at import; set in.envlater, requests answer 500. Correct or remove it. An unknown quantity’s refusal names only the unknown ones (GH-2306)/api/valuesanswers a malformedWD_TS_UNIT_TARGETSin the server’s.envwith a bare 500, where it answered 400 with the setting’s value indetail;/api/stripes/stations,/valuesand/imageno longer give a malformed setting’s value in their 500. The MCP tools answer the same (GH-2312)Interpolation places stations across a UTM zone boundary (in Germany at 6 and 12 deg E, most places every 6 deg of longitude) or the equator in the zone of the point. Each was placed in its own zone, hundreds of kilometres off, or 10000 km off across the equator, so a point near either got no value, or one weighted as if those stations stood elsewhere. A station beyond 80 deg S or 84 deg N, where UTM ends, is now left out; it failed the whole interpolation. The
interpolationextra needs utm 0.8 or later, the first to keep the point’s hemisphere (GH-2277)Network: a download that keeps arriving no longer fails with
FSTimeoutErroronce it runs past thetimeoutinfsspec_client_kwargs(30 s by default), so a slow link can fetch large files. A number there now bounds each wait, to connect and for the next bytes of the answer, not the whole request. The settings docs give that default, where they listed{}(GH-2258)Eaufrance Hub’Eau stations are listed when the station referential takes more than 30 seconds to arrive, which it often does; the list failed with
FSTimeoutError. The referential now has the 120 seconds the observations requests have (GH-2221)to_targetand the CLI’s--targetlog the target with its password as***. They logged it verbatim at INFO, which the CLI shows by default, so a database password or the InfluxDB 2/3 API token in the password slot reached stderr and any log it was captured in (GH-2219)A
/,?or#in the password of an InfluxDB or CrateDB target, or a?or#in a SQL one, is read as part of it. It was read as the end of the host part, so the export went to the wrong host, port, database or table, and pieces of the password reached the log. A password whose unencoded@cannot be read is refused withExportRefusedError, naming none of it (GH-2248)DWD derived can be used on a base install. Its station lists were read with pandas, so
Wetterdienst("dwd", "derived")failed with anImportErrorunless an extra that brings pandas, such asexport, was installed. They are read with polars now, with the same result (GH-2213)Precipitation stripes colour dry years brown and wet years teal; they were the other way round. A year range holding fewer than two years with data is refused, where one beyond the station’s record answered with no values and an empty image, and stripes start and end at a year with data. Years all of one value take the middle colour rather than none (GH-2063)
Images are sent as
image/jpeg,image/svg+xmlandapplication/pdf, where charts and stripes were sent asimage/jpgandimage/svg, and stripes asimage/pdf(GH-2063)DWD DMO returns in metres the elevation of 32
F9stations that DWD gives in feet:F9051QUERETARO/GUTIERREZ is at 1919 m, not 6296 m. A warning names such a station once DWD gives it another value. An elevation in a run that is not a number is returned as null; it previously failed the whole station list (GH-2017)interpolateandsummarizeestimate for a point on the equator or the prime meridian. A latitude or longitude of 0 was taken for no point at all, and the request failed with “Either latitude and longitude or station must be provided” (GH-2056)wetterdienst about fieldsapplies--debug, and for any network but DWD observation answers with a usage error naming the one it describes; it ended in anAttributeErrortraceback (GH-2056)wetterdienst radar --wmo_codefinds the site it names. The option was read as text and compared with the sites’ integer WMO codes, so every lookup failed with aKeyErrortraceback. A code no site carries now answersError: Radar site not foundand exit status 1, and an ODIM code of the wrong length is a usage error rather than a traceback (GH-2023)wetterdienst history --sectionsreturns only the sections it names; it returned all five. The REST API filtered already but in a random order, and both now keep the history’s own order. A section name the history does not have is a usage error rather than a traceback, as is a request with neither--allnor--station(GH-2022)wetterdienst --helpand the command help name only options and commands that exist:--convert_unitsfor--si_units, no--tidy,--wmo_codeand--country_nameforradar, andstripes valuesforwarming_stripes, the command’s old name.--convert_unitsconverts to the unit targets, not to SI units: temperature stays in °C by default. The overview that listed options under commands that do not take them is gone, the--sql_valuesexample on a column runs in the wide shape it needs, and the README counts nearly 600 parameters, not 514 (GH-2021)DWD observation history gives the station id zero-padded in its
parameter,deviceandgeographysections,01048as inname,missing_dataand the stations and values frames. They gave1048, so joining them with those frames onstation_idfound nothing. Each history also gives its station’sstation_idbeside the sections, whicheversectionsare asked for, so one whose sections hold no records still names its station (GH-2058)Values converted to a much larger unit keep their precision. Every converted value was rounded to four decimals, so with
WD_TS_UNIT_TARGETS='{"length_short": "mile"}'5 cm of snow came back as0.0. A conversion now keeps one more decimal per order of magnitude it shrinks a value by, so under the default targets a reading published in percent, Pa, mm, kJ/m² or l/s can carry up to three more decimals where its source gives them (GH-2002)interpolateandsummarizeround a value asvaluesrounds a converted reading of the same parameter, where they rounded every value to two decimals: withWD_TS_UNIT_TARGETS='{"length_short": "mile"}'a summarized 5 cm of snow came back as0.0, and a cloud cover of 0.875 as 0.88. Values are rounded to four decimals or more, so an interpolated 6.64 °C now reads 6.6422;distanceanddistance_meankeep two (GH-2225)With
WD_TS_CONVERT_UNITS=false,interpolateandsummarizeno longer round away a reading published in mm/s:dwd/roadpublishes 0.1 mm/h of precipitation intensity as 0.0000278 mm/s, which came back as0.0. A value is now rounded as one converted into its source unit from its target unit would be, so the decimals followWD_TS_UNIT_TARGETSeven though nothing is converted. Under the default targets mm/s keeps seven, as do durations in hours and visibility in km, durations in minutes, kPa and depths in metres keep five or six, and every other unit four (GH-2257)PostgreSQL and MySQL export targets no longer fail on
?table=: it names the table and is no longer passed to the database driver, which refused it as a connection option, so no such target could be written to. The rest of the query, such assslmodeorcharset, still reaches the driver (GH-1974)On Windows, a request that downloads many files at once with a cache no longer fails with
PermissionError: [Errno 13]when two of its download threads read and replace the cache’s metadata file at the same time; the threads of one process now take turns. Two processes sharing a cache directory can still meet that way (GH-1990)DWD DMO dates each run as the latest date on or before now that its
DDHHMMstamp can name. Between the 1st’s 00 UTC run appearing (about 03:10 UTC) and 04:01, every run was a month early:available_issueslisted past issues andvaluesfor the newest issue raisedIndexError. On 1 January, April, June, August and November it named days the month lacks, such as 31 November, soavailable_issuesandvaluesraisedInvalidOperationErrorand the station list lost the stations only a run describes (GH-2203)The REST API’s OpenAPI schema types a station’s
elevation,latitude,longitudeandnameas nullable, and declares that a station may carry the columns its provider adds, such asgauge_zero, so a client generated from it keeps them. MCP tools no longer fail output validation on a station row holding such a null, as every WSV station does (GH-2226)GeoJSON of stations and values gives a station without an elevation the position
[lon, lat]; it was[lon, lat, null], which strict GeoJSON parsers reject. One collection can now hold both lengths, so read an elevation from a third number only where there is one. Each feature’spropertiesalso carry the station columns a provider adds, such as WSV’sgauge_zeroand characteristic values, DWD road’s station group and road columns, and theicao_idof DWD MOSMIX, DMO and POI (GH-2222)DWD observation history no longer fails for a station whose name holds a non-ASCII letter, such as 01684 Görlitz: its missing-data file is read as latin-1, as DWD writes it, where it raised
UnicodeDecodeErrorand/api/historyanswered 400 (GH-2214)/api/valuesanswers aValueErrorraised while reading a provider’s values with a 400 carrying its message, where it answered a 500 with none, and the MCPvaluestool, which calls it, now passes the message on.wetterdienst valuesstill logs it and exits 1 (GH-2218)MySQL and MariaDB export targets create
DATETIMEcolumns holding UTC, so values before 1970 can be written. TheirTIMESTAMPcolumns started in 1970, so the first earlier row was refused or stored as zeros. A table created by an earlier version keeps itsTIMESTAMPcolumns and what they stored; to getDATETIME, write it anew withif_exists='replace', which drops every row it held (GH-2229)SQL Server export targets (
mssql://) createDATETIME2columns holding UTC for datetimes. They createdtimestampcolumns, which SQL Server takes asrowversion, a row counter that refuses any value written to it (GH-2249)GeoJSON of values gives each feature, one per dataset of a station, that dataset’s values only, and no feature to a dataset the station returned no values for; each feature carried the values of every dataset, so each value appeared once per dataset (GH-2253)
GeoJSON of values in the wide shape gives a station one feature per resolution into which several requested datasets were merged, with
datasetnull as its rows have it, and dates from the earliest start to the latest end of those datasets. Each merged dataset got a feature holding all of the rows, so each value appeared once per dataset. Read a value’s dataset from its column prefix; the REST API’s schema typesdatasetas nullable (GH-2274)The MCP
valuestool answers with GeoJSON and in the wide shape; it failed its own output validation. The REST API’s schema for/api/valuesgives a GeoJSON feature’s values nostation_id, which the feature’s properties carry, and a wide rowresolution, a nullabledataset,timestampand, outside GeoJSON,station_id, plus a value and a quality column per parameter, typed as nullable numbers where pydantic is 2.12 or later (GH-2282)GeoJSON of stations and values gives a station without a latitude or longitude, such as a postcode of DWD derived
monthly/climate_correction_factor, the geometrynull, as RFC 7946 has an unlocated feature; it was aPointof null coordinates, which strict parsers reject. The REST API’s schema typesgeometryas nullable, so check fornullbefore reading it (GH-2241)DWD derived stations at 1000 m or higher keep the first digit of their elevation and their
end_date: Brocken was listed at 135 m and Zugspitze at 956 m, both with a nullend_date. This affects the monthly degree-day and degree-hour datasets and hourlyradiation_globalandsunshine_duration(GH-2234)NOAA GHCN daily stations without a known elevation have a null
elevation. They were listed at -999.9 m, the station list’s missing value, andinterpolateandsummarizegiven an elevation took it for a known one (GH-2247)NOAA GHCN hourly stations without a known elevation have a null
elevationtoo. They were listed at -999.9 m, the station list’s missing value (GH-2260)NOAA GHCN stations asked for both
hourlyanddailyin one request are listed; the request failed with a polars schema error. The hourly stations have a nullstart_dateandend_date, as their station list gives none (GH-2267)DWD MOSMIX takes an
issuegiven without an offset as UTC, as DWD DMO does, and converts one with an offset to UTC before flooring it to a run. A naive issue was read in the server’s local time, and an offset one floored in its own hours, so a published run could go unfound. The request’sissueis now a UTC datetime; compare it with aware datetimes (GH-2275)DWD SWSMOS converts an
issuegiven with an offset to UTC before flooring it to a run, as DWD MOSMIX and DMO do. It kept the issue’s wall-clock hour and relabelled it UTC, so2026-10-01T13:00+02:00read the 13 UTC run rather than the 11 UTC one it names (GH-2288)The InfluxDB 2 sink reaches an IPv6 host, such as
influxdb2://acme:tok@[::1]:8086/. It dropped the brackets and senthttp://::1:8086, which names no valid host (GH-2279)The InfluxDB 1 sink reaches an IPv6 host, such as
influxdb://root:pw@[::1]:8086/. It dropped the brackets, so its client’s base URL washttp://::1:8086, which names no valid host (GH-2287)DWD SWSMOS reads the run an
issuenames when asked through the CLI (--issue), the REST API or MCP. The issue was dropped on the way, so the latest run was read whatever was asked. Anissuethat is no ISO date raisesInvalidTimeIntervalError, aValueError, as MOSMIX and DMO do, so the REST API refuses it as the caller’s error, as it does theirs (GH-2299)wetterdienst alertsreports a DWD feed it cannot read as an error with exit status 1, as it does a failed download, where it reported an invalid option with exit status 2. A--datebefore DWD’s rolling window is still a usage error, now named asInvalid value for --date(GH-2313)The CLI’s
values,interpolateandsummarizeleave a setting whose option is not given on the command line to itsWD_TS_*variable, such asWD_TS_SHAPE=wide. They passed every option’s default, which outranks the environment, so those variables had no effect (GH-2307)The CLI’s
interpolateandsummarizerefuse a bad station distance or unit target in one line naming its option, asvaluesdoes, where they printed pydantic’s whole message. All three raise a malformedWD_*variable as it is rather than as a usage error, also one merged into the dict an option gives, such asWD_TS_UNIT_TARGETSbeside--unit_targets(GH-2308)WD_TS_GEO_USE_NEARBY_STATION_DISTANCE,WD_TS_GEO_MIN_GAIN_OF_VALUE_PAIRSandWD_TS_GEO_NUM_ADDITIONAL_STATIONScan be set from the environment or.env. The settings refused the string an environment variable gives, so setting any of them made everySettingsfail (GH-2326)The REST API’s and MCP’s
values,interpolateandsummarizeleave a setting the request does not give to the server’sWD_TS_*variable, such asWD_TS_SHAPE=wide, as the CLI does, where those variables had no effect. A client that parses one layout whatever the server sets sendsshape,humanizeandconvert_unitswith its request (GH-2325)The REST API refuses a bad
unit_targetsor station distance in one line naming its field and quoting what the request gave, where the 400 was pydantic’s whole message quoting the dict merged from it and the server’sWD_TS_UNIT_TARGETSorWD_TS_GEO_STATION_DISTANCEentries (GH-2329)A malformed
WD_*setting is told by the variable that sets it and what is wrong with it, a line each and without pydantic’s echo of the value, where it ended in pydantic’s traceback. The REST API refuses to start with it, also underuvicorndirectly unless its lifespan is turned off, andwetterdienst restapiexits with uvicorn’s status 3; the other CLI commands that read the settings exit with status 1 (GH-2335)Values in the wide shape can be drawn:
ValuesResult.to_plot, and with it the image formats (html,png,jpg,webp,svg,pdf) of the CLI’svaluesand/api/values, draw a wide result as they draw the long one. They raisedColumnNotFoundErroronparameter(GH-2330)wetterdienst alertsrefuses a--datethat does not parse, or that an offset carries out of a datetime’s range, asInvalid value for --datewith exit status 2; the latter was a traceback. It raises a malformedWD_*variable as it is rather than as an invalid option, asvaluesdoes, and a--targetit cannot write is an error with exit status 1, not a traceback (GH-2322)NOAA GHCN hourly stations listed at 9999.0 m or 8191.0 m, 154 placeholders such as the North Sea lightship ELBE NO. 1, have a null
elevation.interpolateandsummarizegiven an elevation took them for known ones (GH-2336)wetterdienst historyandwetterdienst stripes valuesend a--targetthey cannot write, such as one in a directory that does not exist, asError: Could not write --target: ...with exit status 1, asalertsdoes; it was a traceback after the whole fetch (GH-2346)NOAA GHCN daily stations of the Brazilian network (
BR0...) listed at 0.0 m, 912 placeholders such as ALFENAS at about 880 m, have a nullelevation.interpolateandsummarizegiven an elevation took them for stations at sea level. A 0.0 m outside that network stays (GH-2362)NOAA GHCN hourly stations listed at -999.0 m, 93 placeholders such as BOGUS ALGERIAN, have a null
elevation.interpolateandsummarizegiven an elevation took them for known ones (GH-2352)A
Settingsfield assigned after construction is validated as one given to the constructor:settings.ts_skip_threshold = 5orsettings.ts_shape = "foo"raises aValidationErrornaming the field, where it was taken and failed later or skipped every station. A radius assigned reachests_geo_station_distanceat once, and a dict assigned tofsspec_client_kwargsis merged into the defaults as one given is, where it replaced them (GH-2342)NOAA GHCN hourly stations listed at 0.0, 0.0, or named
BOGUS ..., 15 placeholders such as BOGUS AUSTRIAN, have a nulllatitudeandlongitude. They are still fetched by id, but no rank, distance or bbox search,interpolateorsummarizepicks them. A rank search now leaves out every station without a position, which it sorted first, ahead of the nearest; estimating at one by station id is refused with aLocationOutOfRangeError. The CLI prints that error in one line, also for a point beyond the latitudes UTM covers, where it was a traceback (GH-2380)A
Settingsonce in the wide shape drops nulls again once it is long. The wide shape wrote False intots_drop_nullsfor good, so aSettingsreused for a long request returned the null rows. The field now keeps the value given, soSettings(ts_shape="wide").ts_drop_nullsreads True; readts_drop_nulls_effectivefor whether nulls are dropped (GH-2388)The REST API’s OpenAPI schema, and the MCP tools built from it, give each settings parameter of
/api/values,/api/interpolate,/api/summarizeand/api/settingsthe server’s value as its default: withWD_TS_SHAPE=wide,shapeiswide.drop_nullsisWD_TS_DROP_NULLSor true, what leaving it out means whatever the shape. They gave wetterdienst’s, which a client filling in defaults sent, hiding the server’s. Read once per server process: restart it after editing its.env(GH-2393)
Security#
Breaking: the
sqlandsql_valuesfilters run on a DuckDB connection holding only the frame, so they raise aduckdb.Erroron a table of DuckDB’s default connection, a file, a URL or an extension; join or filter the returned frame with polars instead. The clause is a single condition: a statement after;,ORDER BYorLIMITraisesduckdb.ParserException; sort or slice the returned frame instead. It runs on one thread, with DuckDB’s memory limit at 1 GiB plus the frame’s size and no disk to spill to (duckdb.OutOfMemoryException). The REST API answers these as client errors. Any REST or MCP client could read the server’s files, read DuckDB’s settings through an appended statement, or run a query on every core with most of the memory (GHSA-rpwr-qmm5-m9wp)Breaking: the REST API and MCP server refuse
sql(stations, values) andsql_values(values, interpolate, summarize) with a 403 unless they run with the new settingrestapi_sqlenabled; setWD_RESTAPI_SQL=trueto accept them as before. Enabled, the clause runs in DuckDB on the server within the limits above, which hold per request: it can still read DuckDB’s settings, which name paths on the server, run for as long as it likes on one thread, and allocate memory DuckDB’s limit does not count. The library and the CLI are not gated (GHSA-rpwr-qmm5-m9wp)
0.139.0 - 2026-09-29#
Changed#
Breaking: the station column
heightis nowelevation, in every stations frame and its JSON, CSV andwith_stationsoutput. History’sstation_heightisstation_elevation, the DWD radar BUFR frame’sheightiselevation, andNoStationsWithHeightErrorisNoStationsWithElevationError. Readelevationinstead; a SQL filter still namingheightfails with an error namingelevation. A DuckDB, SQLite or PostgreSQL tableto_targetwrote before takes no append ofelevation: write it anew (GH-2024)Breaking: the station column
stateis nowregion, in every stations frame and its JSON, CSV, GeoJSON andwith_stationsoutput. Readregioninstead; a SQL filter still namingstatefails with an error namingregion. A DuckDB, SQLite or PostgreSQL tableto_targetwrote before takes no append ofregion: write it anew (GH-2026)Breaking: the values column
dateis nowtimestamp, in long and wide values, interpolated and summarized values, their JSON, CSV, GeoJSON, NetCDF and Zarr output, the stripes values and the DWD radar BUFR frame. Thedaterequest parameter,filter_by_dateand the station columnsstart_date/end_datekeep their names. Readtimestampinstead; a SQL filter on values still namingdatefails with an error namingtimestamp. A DuckDB, SQLite or PostgreSQL tableto_targetwrote before takes no append oftimestamp: write it anew (GH-2028)Breaking: in wide values, each parameter’s quality column is
<parameter>_qualityrather thanqn_<parameter>(<dataset>_<parameter>_qualitywhere several datasets are requested). Read the new name instead; a SQL filter still naming aqn_column fails with an error naming its_qualitysuccessor. A DuckDB, SQLite or PostgreSQL tableto_targetwrote before takes no append of the new columns: write it anew (GH-2030)Breaking: 31 parameter names lose a misspelling, a German word or a mistranslation:
grasisgrass,chloridchloride,loamysilt/loamysand/winterwheatare split into words,count_weather_type_ripeiscount_weather_type_hoar_frost,thawing_thickness_plantstock*isthawing_thickness_plant_cover*,wave_height_signiswave_height_significant,thawing_thickness_bare*isthawing_thickness_bare_ground*,number_of_{days,hours}_per_montharecount_{days,hours}_in_month,wind_movement_24hiswind_movement, andcloud_cover_between_2km_to_7kmiscloud_cover_between_2km_and_7km. Request the new name; an old one in a request, or as a wide column in a SQL filter, is reported with its replacement. A wide DuckDB, SQLite or PostgreSQL tableto_targetwrote before takes no append of them (GH-2032)Breaking:
dwd/observationsnow_depth_excelledandwater_equivalent_snow_depth_excelledaresnow_depth_sampledandwater_equivalent_snow_depth_sampled. They are DWD’s ausgestochene Schneehöhe, the snow cut out as a sample to measure its water equivalent; their descriptions and app labels said snow beyond the measuring range, which neither is. Request the new names; an old one in a request, or as a wide column in a SQL filter, is reported with its replacement. A wide DuckDB, SQLite or PostgreSQL tableto_targetwrote before takes no append of them (GH-2034)Breaking:
humidity,humidity_maxandhumidity_minarehumidity_relative,humidity_relative_maxandhumidity_relative_min;humidity_absoluteis unchanged. Request the new names; an old one in a request, as ats_geo_station_distancekey or as a wide column in a SQL filter is reported with its replacement. A wide DuckDB, SQLite or PostgreSQL tableto_targetwrote before takes no append of them (GH-2036)Breaking: every parameter name containing
precipitation_heightorevaporation_heightsaysprecipitation_amountorevaporation_amountinstead – 66 names, fromprecipitation_heightitself tocount_days_precipitation_height_ge_1mmandevaporation_height_multiday. Request the new names; an old one in a request, as ats_geo_station_distancekey or as a wide column in a SQL filter is reported with its replacement. A wide DuckDB, SQLite or PostgreSQL tableto_targetwrote before – a nightlydaily/klexport, say – takes no append of them (GH-2038)Breaking:
visibility_range,visibility_range_indexandvisibility_range_measurement_methodarevisibility,visibility_indexandvisibility_measurement_method. Request the new names; an old one in a request, as ats_geo_station_distancekey or as a wide column in a SQL filter is reported with its replacement. A wide DuckDB, SQLite or PostgreSQL tableto_targetwrote before takes no append of them (GH-2040)Locked dependencies refreshed to their latest compatible versions – 41 packages, among them fastmcp 4.0.10, fsspec 2026.9, SQLAlchemy 2.1 on Python 3.11 and later and zarr 3.4 on 3.12 and later; each older Python keeps the release line that still supports it (GH-2050)
0.138.0 - 2026-09-28#
Added#
--if_existsonstations,values,interpolateandsummarize, takingreplace(the default, and what the CLI did before),append,failorskip.to_targethas taken the argument since it was written but no command passed it, so every CLI export replaced: a nightly timer pointed at a DuckDB table held one run’s rows rather than a history. A pairing the sink refuses is reported as a line and exit 1 rather than a tracebackprecipitation_intensitycan be declared inmillimeter_per_second, which is what BUFR publishes a precipitation rate in (kg m-2 s-1). It is a source unit only:WD_TS_UNIT_TARGETScannot ask for values in it, because_convert_unitsrounds to four decimals and would quantise mm/h into 0.36 mm/h steps. A rounding rule that scales with the target is GH-2002 (GH-1984)imgw/meteorologydaily/synopreturns the five columns it read and never declared: the daily maximum, minimum and 5 cm minimum temperature, the precipitation total and the snow depth (TMAX,TMIN,TMNG,SMDB,PKSN). No synop station could return any of them (GH-1991)imgw/meteorologycarries IMGW’s own status inquality, which was null for every value the provider returned. “8” and “9” are IMGW’s codes;Z(opad zbiorczy) is reported as 10, sincequalityis numeric and IMGW’s code is a letter. A blank status is a measurement and stays null (GH-1998)Six dataset descriptions the docs carried and the model did not, so
discover, the REST API and MCP report them too:dwd/mosmixhourlysmallandlarge, the threedwd/derivedmonthlycooling_degreehours_*, andimgw/meteorologymonthlyclimate. The threecooling_degreehours_*are each described by the reference temperature they use rather than by the docs page’s shared blurb about “13, 16 and 18 degree Celsius”, those interfaces reporting a dataset at a timeDocumentation for running wetterdienst on a schedule, with ready-made units for systemd timers, launchd, cron and
docker run. ADynamicUser=yesservice has no writable$HOME, so withoutCacheDirectory=andWD_CACHE_DIRthe run fails rather than going uncached, andNo data available for given constraintsexits 1 indistinguishably from a real failure (GH-255)DWD road: a temperature below -60 °C is marked suspect whatever window was asked for. The stopped sensors reporting
-75.00°C were already caught by the rule marking a sensor held at one value for six hours, but only where the request covered six hours to find them in. Germany’s record low air temperature is -45.9 °C, so the line stands 14 K under it (GH-1917)
Changed#
Breaking: Every export a sink refuses raises
ExportRefusedError– a mode it does not do, a target already holding data underif_exists="fail", or a format or protocol nothing here writes. It replaces aNotImplementedError, aFileExistsError, twoKeyErrors and pandas’ValueErrorin the SQLAlchemy sinks, so callers matching on those have to match on this one insteadBreaking: DWD DMO declares the elements its runs carry, 23 parameters for
iconand 19 foricon_eurather than 122 and 40. The old lists were MOSMIX’s, copied in when the provider was written, so a request for one of the 99 and 22 that are gone now raisesNoParametersFoundErrorwhere it used to return an empty frame.precipitation_height_last_1his added toicon_eu, which serves it and did not declare it. The model has no lead-time axis, so four oficon’s 23 are carried only bylead_time="long"and three only by the default"short"; those still answer with the empty frame, tracked in GH-1976. Three served elements stay undeclared: no canonical parameter describes a net radiation flux, andradiation_global_last_3his taken by one, which GH-1977 carriesBreaking:
DwdDmoRequest.available_issuestakes the product it is answering for –dataset,station_groupandlead_time, keyword-only. It used to listicon/single_stations/whatever the request would read, and named issues that request then rejected.wetterdienst issuesand/api/issuestake--dataset/--lead_timeto match.datasetandstation_groupdefault toDwdDmoRequest’s own;lead_timedefaults toNone, which lists every lead time together, so with no arguments this still answers more than a default request accepts – GH-2009 (GH-1956)Breaking:
Settings.authholdsSecretStrrather thanstr, so reading a credential back has to ask for it:reveal(settings.auth.aemet), or.get_secret_value(). Setting them is unchanged, as is everyif not settings.auth.xcheck. An f-string orstr()of a credential now yields**********, and the mask is refused as a credential on the way inBreaking:
filter_by_namerefuses a name that is not a string before it downloads anything. The sameTypeErrorcame out of rapidfuzz before, one whole station index later – except forNone, which came back as an empty result and now raises like any other non-string. Check the name is there before asking, rather than reading an empty result as “no station by that name” (GH-2003)Breaking: The
mcpextra requiresfastmcp>=4,<5(was>=3.4.4,<4.0.0), andui/mcp.pybuilds theOpenAPIProvider’s in-process ASGI client withhttpx2(>=2.12,<3, now declared alongside the extra) rather thanhttpx, which FastMCP 4 has moved off entirelyLocked dependencies refreshed to their latest compatible versions – 74 packages, among them cloup 4, fastmcp 4 (mcp 2), plotly 7 and tzfpy 2 – which widened
cloup<5andtzfpy<3. Plotly 7 leads an HTML export with a doctype where 6.x began at<html>, the only change visible in outputDwdRadarValues.periodis annotatedPeriod | None, which is what it has always held. The annotation claimedPeriodand carried aty: ignore, which made bothnot self.periodguards in the radar API read as dead code to the type checker
Fixed#
Breaking:
dwd/roaddeclares the units BUFR publishes its precipitation intensity and water film in, so both are converted instead of being served 3600 and 100 times too small.intensityOfPrecipitationiskg m-2 s-1, millimetres per second, and was declaredmillimeter_per_hour, so a shower came back as 0.0056 mm/h;waterFilmThicknessis metres and was declaredcentimeter. A request now answers 20.16 mm/h and 0.2 cm. The page’s warning to multiply by 3600 by hand is gone with it – do not apply that factor to a value from this version (GH-1984)Breaking:
imgw/meteorologyreturns no value where IMGW records no measurement, rather than a zero. Each of the 61 declared value columns is followed by a status column and none was read, while the value cell of a missing measurement holds a literal.0– so PSZCZYNA reported 0 % relative humidity for January 2010 and WARSZOWICE 0 cm of snow cover every day of it. Only status8becomes null. Under the defaultts_drop_nullsa frame can come back shorter, or a parameter empty where it used to read zero throughout (GH-1994)Breaking:
imgw/meteorologyreturns a documented brak zjawiska as the zero it means, where it returned no value at all. Status “9” was handled by passing the value cell through, which only works where the cell holds a zero, and the files disagree that it does:o_d_07_2024leaves it empty beside all 8,490 of its “9”s. WARSZOWICE on 2024-07-02 answered null and now answers 0.0 mm;daily/synoplost whole parameters that way rather than single days (GH-1997)Breaking:
imgw/meteorologyreturns three parameters that were permanently empty and one that published a different column’s numbers, andmonthly/climate/precipitation_height_maxanswers to a different original name. Two rename targets carried a typo –opadówwa doubledwandminimalnaja strayj– anddaily/precipitation/precipitation_heightcarrieddaily/climate’s mean-temperature name for what upstream callsSMDB– the one measurement that dataset exists to publish.monthly/precipitation/precipitation_height_maxwas worse for never looking empty: it reado_mfield 7, the count of days with snowfall, and published that count as millimetres. A request formonthly/climate/opad maksymalnynow raisesNoParametersFoundError; the canonical name is unaffected (GH-1981)Breaking:
imgw/meteorologydeclaresdaily/climate’s grass temperature astemperature_air_min_0_05m, the name its monthly siblings already use for the same measurement, rather thantemperature_air_mean_0_05m–k_d_format.txtnames field 12 a daily minimum, and every other provider declaring the mean means a genuine 5 cm mean by it. A request for the old name raisesNoParametersFoundErrorand names the new one in its hint (GH-1993)Breaking: A DuckDB
if_exists="append"matches columns by name.INSERT INTO t SELECT *matches by position, so two frames with the same number of columns under different names were both accepted and the second one’s values landed under the first one’s headings – a--shape=wideschedule that changed one parameter put a precipitation value intotemperature_air_mean_2m, exit 0 and nothing said. A frame whose columns are a subset of the table’s is still acceptedts_unit_targetsapplies all of a mapping or none of it.update_targetsvalidated and assigned entry by entry, so a mapping carrying one entry it could not use applied those written before it and then raised (GH-1984)wsv/pegelreturns no data for a timeseries between measurements rather than raisingColumnNotFoundError. Pegelonline answers[]with HTTP 200 for a series it lists but holds no current measurements for, whichpl.read_jsonreads as a frame with no columns (GH-1987)The InfluxDB sink takes
if_exists="append", which is the one word for what it does: every write is points, and a point repeating another’s timestamp and tags replaces it. Refusing that spelling made a multi-station export impossible,to_targetwriting every station after the first withappend– the three export examples in the docs had been broken sinceif_existswas addedDWD mosmix: a
kml/directory that exists and holds nothing is answered rather than raising past the line written for it.nextraisesStopIterationwhere its filter matches nothing and theexcept IndexErrornever caught it, so a caller sawRuntimeError: generator raised StopIterationnaming neither the directory nor what was looked for. A run is read as the ten digits DWD stamps a.kmzwith rather than as the third_-separated part of the name: MOSMIX-L all-stations carries no station id, so that part was2026092203.kmzwith the extension still on it and every row metconversion from str to datetime failed– that layout could not be asked for a run at all.available_issuesanswers such a directory with no issues, asdwd/dmonow does for its own (GH-1946)DWD dmo: a run is read by its whole name (
_<lead>_<n>_<DDHHMM>.kmz), where every part of it was read by position or by substring and each wrongly. The lead time matched a bare"78"anywhere in the URL, which 187 of 5811 station ids also satisfy, so ~3% of stations raisedcan only call '.item()' if the Series is of length 1; the run stamp took four characters off the last name part, so a README raisedconversion from str to i64 failed.available_issuesreturned tz-aware datetimes that this compared against a naive column, sowetterdienst issuesprinted issueswetterdienst valuescould not accept. An issue is floored to the run before it, wherehour % 12sent 1 through 11 up to 12, and one given in another zone is converted rather than relabelled (GH-1948)DWD DMO: a station the shared catalogue omits is described from the product’s newest run, so it can be asked for. 135 of
icon’s stations and 132 oficon_eu’s are absent fromdmo_stationsliste_txt.asc–Y0353is Mont Blanc – and were filtered out of every request although their forecasts publish and fetch with HTTP 200. Both products now advertise exactly what they publish, 5757 and 3688. The added stations reporticao_idas null (GH-1964)Breaking: DWD DMO: a station is advertised only for the product that forecasts for it. The shared catalogue matches neither product, so a request for
icon_eulisted 2255 stations that could only ever answer with an empty frame. Coverage is read from the product’ssingle_stations/directory, one listing rather than a 20 MB parse; a listing that cannot be read keeps the catalogue (GH-1964)DWD DMO: a station position is read as the degrees and minutes the catalogue writes it in (
{degrees}.{minutes:2d}), and the seven hardcoded station patches are gone. Read as plain decimals,.5became 0°50’ – a station 84 km from where DWD says it is, and nothing raised – while.-6raisedconversion from str to f64 failednaming neither column nor station. Of the file’s 11 622 position fields, 21 needed repairing and all 21 now land on the coordinate DWD’s own placemarks carry.P0563(London Luton) is beyond reach, written.22where the sign is missing rather than misplacedDWD DMO: a run stamp becomes the hour it names whatever that hour is.
DDHHMMhad its day, month and minute padded back to two digits before parsing but not its hour, so3made...01300and%Htook the30it could see. DMO publishes at00and12, so no run has hit thisDWD DMO: both dataset descriptions were MOSMIX’s, word for word –
icondescribed as MOSMIX-L’s “115 parameters for worldwide stations”,icon_euas MOSMIX-S’s 40-parameter one, and neither count is DMO’s. Neither description names a parameter count any more, andicon_eunames the set it is published for rather than “European”: 11 of its 3688 stations sit east of 35° longitudeDWD mosmix:
LATESTreads the newest run the listing names rather than the alias beside it, and a named run is held for twelve hours instead of five minutes. The two are the same bytes – one ETag, one content-length – but a run named by its timestamp is that run for good, where the alias is a name DWD replaces hourly. MOSMIX-S, 36 MB published hourly, was refetched up to twelve times an hour: 10.4 GB a day over the wire against 871 MB now, at the cost of one blob an hour where it reused one – reclaimed by the TTL sweep below, a named run being held under a positive one (GH-1945)DWD mosmix: a station whose directory DWD has emptied or retired costs that station and no more.
get_url_for_dateraised on a listing that named nothing and nothing between it andvalues.all()catches, so one such station ended a request for fifty. It answersNonenow, the splitdwd/dmohas always made. A cached body that is not a zip is dropped and asked for once more, since fsspec records a cache entry before the copy that fills it finishes (GH-1949)DWD swsmos: the run is read once for the request rather than once for every station it answers for. One run file holds every road station’s whole forecast – 306 612 rows – and was listed, fetched and parsed once per station with all but one station’s rows thrown away. Twenty-five stations took 14.1 s and now take 0.8 s. The run is pinned for the length of a query and no longer, so a caller querying again on a timer is answered with the run published since (GH-1922)
DWD swsmos:
LATESTno longer answers with a run up to twelve hours old. The alias is a name whose content DWD replaces hourly and was cached by URL for twelve hours like everything else, so “the latest run” could be one whose first twelve forecast hours had already happened – measured at 22:57 UTC, the alias answered from the 21:00 run while DWD served 22:00 (GH-1922)DWD swsmos: a run that cannot be read is reported and skipped, where it used to end the request in a traceback out of
bz2.decompressand repeat it for the twelve hours it stays cached.LATESTfalls back to the run before the newest, an hour-old forecast being what it should mean while a run is still being written. A run is matched exactly (swsmos_<14 digits>_opendata.csv.bz2), since aswsmos_prefix also matches a checksum sidecar that sorts after the run it belongs to, and a zero-byte 200 no longer parses to a run that simply holds nothing. The body is asked for once more past the cache before the fallback, and only once where the caller disabled the cache, whichcache_disablecan now say (GH-1922)Network: the cache says what it did, where it used to decide on a caller’s behalf and keep quiet.
cache_dir,cache_disableanduse_certifidecided whatNetworkFilesystemManager.registerbuilt and were not part of the key it was filed under, andregisterruns only for a new key – so the first caller in a thread decided for every later one, and a request made with caching disabled could be served by a caching filesystem. A listing that could not be read is no longer answered as an empty directory either:fs.findwalks withon_error="omit"and aiohttp’sClientOSErroris anOSError, so a connection reset was swallowed inside fsspec. A directory that is not there stays[], as does being offline (GH-1947)Network cache: the on-disk blob directory is separated by the TTL and by the headers that can change what a server sends back, and by nothing else. Named for a hash of the whole of
client_kwargs, it moved whenever the default User-Agent’s version number did – one developer machine held 129 directories and 4.3 GB, of which 115 MB was reachable by the installed version and 1.4 GB sat underttl-INFINITE-*, a provider saying those bytes never change. Directories of the older layout are reclaimed on the first cached download of a process, and one a rotated credential named ages out at a month (GH-1959)Network cache: a blob its own TTL has already made useless is dropped, once per directory per process. A TTL that is not a positive number is not swept at all, because
CacheExpiry.INFINITEisFalseand fsspec reads an expiry of zero as “every entry is expired” – it would have thrown away the immutable archiveslhmtand bothmeteofranceproviders keep there. The lock is held across the sweep, which is what keeps adownload_filesthread pool from writing rows the sweep’s own snapshot would then drop and orphan (GH-1955)Network: two credentials never share a cache directory or a filesystem, whatever shape their headers arrive in.
str()of aSecretStris**********, so every secret hashed to one value and the second caller was handed the first caller’s filesystem, built with the first caller’sAuthorizationheader;client_kwargs["headers"]reaches aiohttp as a mapping or as a sequence of pairs and only the mapping was read. The cache also separates on every header but the ones that cannot change a body, rather than on a list of those known to carry credentials –Accept-Language: deandenshared a directory. An unknown header now costs a cache missmet.no Frost: the credential probe builds its own headers rather than writing into the dict
Settingsholds.{**settings.fsspec_client_kwargs}copies one level, sosetdefault("headers", {})[...] = ...mutated the shared mapping and every later request from thatSettings– any provider, not only this one – carried met.no’s basic authNetwork: the log says whether a file was downloaded or read from the cache, rather than saying “Downloading file” for both – and it was wrong for every cache hit, the one thing a reader could already tell was not happening.
download_filessays what it is fetching up front and then how many arrived and how many the cache answered,uncachedwhere there is no cache to report onA token exchange that meets a server error is asked a second time.
post_fileretried a connection that never carried a response but took every response that did arrive as an answer, and a 502 from a token endpoint is a blip. A mint is made once every three days and empties a whole Met Office query when it fails. A 401 is still an answer, and so is a 429 deliberately:download_fileno longer retries every failing status, so a 429 from AEMET or met.no Frost is not answered by doubling the request rate against a provider that has just said it is rate-limiting. A 404 and a 5xx are still asked twice, a file index being read minutes before the files it names (GH-1939)Met Office works on a plain
pip install wetterdienst. Its CEDA token exchange importedhttpxat module level, which only therestapiextra declared, soWetterdienst("metoffice", "observation")raised on an installation that had not asked for the REST API. The exchange goes through fsspec now, by way of a newpost_fileinutil/network.py, andhttpxis no longer a dependency of wetterdienst at all. A redirect is not followed, since aiohttp would repeat a redirected POST as a GET and turn CEDA’s login page into a 200 whose body parses as nothing (GH-1929)A provider that cannot be loaded says which package it is missing.
importlibraisesModuleNotFoundErrorfor an absent dependency as readily as for an absent module, andWetterdienst.resolverewrote both intoModule wetterdienst.provider.X not found. Where an extra of this package would install it the message says which, read out of the installed metadata rather than from a list kept in the code (GH-1929)The three paths that do not go through the provider registry say which extra they want, where they used to raise a bare
ModuleNotFoundError:wetterdienst restapiwithout[restapi],.interpolate()without[interpolation], and the radar HDF5 dump without[radar](GH-1938)The MCP server tells a client which wetterdienst it is talking to.
FastMCP(version=...)was never set, and left unset it reports the installed FastMCP release as the server’s own version – so a client asking what it had connected to was answered “Wetterdienst 4.0.3”Examples: the DuckDB dump addresses its database file with three slashes rather than four, so it opens on Windows, where the leftover slash left DuckDB reading
//C:\...as a UNC share. The same count was wrong into_target’s docstring and the PyConDE notebook, which showedduckdb://name.duckdb– read as a host rather than a path, so the data went to an extensionless file nameddwdin the working directory with no errorThree documented parameters that no request could ask for, and four requestable ones no page documented.
dwd/mosmixhourly documentedcloud_base_convectiveandcloud_cover_below_7kmundersmall, which the model declares forlargealone, and carried a stalen1row forcloud_cover_below_1000ftthat the model has never mapped;imgw/meteorologymonthlysynopdocumented none of its four precipitation parameters at allThree unit cells disagreeing with the model about the quantity rather than the notation:
dwd/road15_minutes wrotemm/swhere the model declaredmillimeter_per_hour– there the page was right and the model wrong, which GH-1984 settles in this release – anddwd/observationmonthly and annual wroteBftforwind_gust_max, which the model declaresmeter_per_second, copied from thewind_force_beaufortrow above itThe stale MOSMIX and DMO figures the docs carried: MOSMIX-L at “~115 parameters” and both products at “over 5000 stations worldwide” in two files beside the
docs/data/overview.mdbeing corrected in the same change, and a fourth copy of the 115 indwd/mosmixhourly’s own dataset description. Measured: MOSMIX 5649 stations, 40 parameters forsmalland 122 forlarge; DMO 5757 stations and 23 parameters foricon, 3688 and 19 foricon_euimgw/meteorology’s page states what its status column does not settle. A0inmonthly/climate’ssnow_depth_maxcarrying no status means either no snow cover in the month or a maximum that could not be determined – 96 of the 196 rows of 2024, returned as 0 cm – anddaily/precipitationomits a brak zjawiska day rather than returning 0 mm for it. The page had said a parameter a station does not measure “comes back with no values” (GH-1997, GH-1998)imgw/hydrologymonthly is described as “historical monthly hydrology data”, not “historical daily climate data” – wrong in both the resolution and the subject, and wrong in the model and the page alike. A caller askingdiscover, the REST API or MCP formonthly/hydrologywas told it holds daily climate dataThe three
dwd/derivedKuehltage overrides are described as “Number of days with at least one cooling hour”, which is what DWD counts, rather than “Number of days on which cooling was required”. The canonicalcount_days_cooling_degreekeeps the general wording, as itscount_days_heating_degreesibling does
Security#
Provider credentials are held as
SecretStr, so that rendering the settings does not print them.Settings.__repr__serialises the whole model,authincluded, and a request’s dataclass repr embeds aSettings– so an API key reached every ordinary way of looking at an object on a failure path: a pytest assertion diff, a traceback,print(request), a debugger, a notebook. Anyone pasting such a traceback into an issue or a CI log published every credential they had configured. All four – AEMET, KNMI, met.no Frost and CEDA – now render as**********, andreveal()is the one way back to a value (GH-1920)A credential no longer travels in the error a failed download hands back. aiohttp hangs the request’s headers on a
ClientResponseErrorand on itsargs, so anAuthorizationheader reached anything that rendered theFilethe download returned. It travelled three further ways: the traceback’s frames inutil/network.pyhold the caller’s client kwargs as locals, whichpytest --showlocalsprints;ClientResponseError.historyholds a copy per redirect; andstamina’s retry hook logs areprof what failed. None of the four shows instr(error). The header is redacted, the history and traceback dropped, and the error scrubbed on its way into the retry as well as out of itA failed request that carried its credential in a header of another name has that header redacted too. The scrubbing knew
Authorization, where KNMI’s key, met.no Frost’s basic auth and Met Office’s bearer token go, but AEMET sends its key asapi_keyhttpx2now has a floor of>=2.12wherever it is declared – the dev group, which held>=2.4.0, and themcpextra, which now declares it – and the lockfile carries 2.13.0 where it held 2.10.0. Six advisories stand against 2.10.0, three distinct defects: multipart part header injection through an unvalidated fileContent-Type(CVE-2026-84379, fixed in 2.11.0), conflictingContent-LengthandTransfer-Encodingheaders generated together (CVE-2026-84380, 2.11.0), and unbounded peak memory decompressing a streamed response (CVE-2026-84382, 2.12.0).uv audithas failed onmainsince 2026-09-16 on exactly these, and passes again
0.137.0 - 2026-09-18#
Added#
Interpolation and summary take an
elevationfor the point they answer for, in metres above sea level, and bring each station’s readings to it before using them. Air temperature falls about 0.65 K per 100 m, so the stations within 40 km of Garmisch span 630 m to 2956 m – 15 K interpolated as though it were horizontal structure. Namedelevationon the API and the REST API,--elevationon the CLI, and it names the point too, so two elevations at one place no longer share a station id. A station whose height the provider does not report is left out of such an answer; where that leaves a parameter with no station at all,NoStationsWithHeightErrornames it and how to ask for the readings uncorrected (400 on the REST API)Parameter table:
lapse_ratesays how fast a quantity falls with height, in its own unit per metre, for the 17 air temperatures measured at 2 m and the dew point. Not for the 5 and 10 cm readings, which are governed by the ground beneath them, nor for anything in or on the ground, nor for the comfort indices, nor for pressure, which wants the barometric formula rather than a rateExport:
file://targets for.json,.jsonland.nc. JSON could not be written to a file at all; it holds the frame’s records rather than the{"metadata": ..., "values": [...]}envelope a response carries. NetCDF joins Zarr as the second array format, written through xarray with CF time units and gaps as NaN rather than the -999 Zarr fills them with. Theexportextra carriesh5netcdf, which needs no compiled netCDF libraryDWD road: the
qualitycolumn carries the station’s own verdict on its sensors, where it was null on every road reading.qualityInformationAwsData(BUFR0 33 005) is a 30-bit flag naming which quantities the station calls suspect, and it was read and thrown away. A reading is1where the station checked it and calls it suspect,0where it checked and does not, and null where nothing is known – the common case, 817 of 1199 station-minutes reporting no checks performed.road_surface_conditionandwater_film_thicknessstay null, the WMO’s generic table naming no state of a road.qualitycarries whatever a source publishes and the scale differs by provider, which the column’s description now says rather than promising one meaning (GH-1917)DWD road: a sensor that has stopped is marked suspect. Where an air temperature, dew point or road surface temperature reports the identical value for 24 readings – six hours here –
qualitybecomes1and the reading is left exactly as DWD published it. Measured rather than chosen: over a day of ~700 stations per quantity a working sensor’s longest run was 9 to 17 readings, a broken one 86 to 96 of 96. Only those three quantities, since a dry day’s surface condition and water film legitimately sit at 0 all day. A road at its melting point is exempt where the station’s own air came near freezing, salted roads holding a constant sub-zero value by the same physics (GH-1917)
Changed#
DWD road: the precipitation type is reported as
precipitation_type_flagsrather thanprecipitation_form, being a different kind of number.precipitationTypeis BUFR0 20 021, a 30-bit flag table with a bit per type, whereprecipitation_formelsewhere holds a single code – so rain came back as33554432against DWD observation’s6for the same weather, under one canonical name. The value is unchanged. The bit layout and how to mask for a type are on the provider’s docs page (GH-1916)Interpolation and summary by station id answer at that station’s altitude, it being the one case where the elevation is known without being given. This changes what
interpolate_by_station_idandsummarize_by_station_idreturn where the stations drawn on stand at other altitudes – for the reading uncorrected, pass the station’s coordinates tointerpolateorsummarizeinsteadDependencies: the
bufrextra is the whole of what reading BUFR takes. pdbufr requires eccodes but asks for any version, and the two were named as separate extras with the docs telling you to install both, neither being any use without the other.pybufrkitis no longer pulled in bybufr: nothing in the library imports it, only the radar tests do, and they skip on it nowDependencies: shapely is required from 2.0.6 rather than 2.0.4. The two releases before it raise out of
create_collectionunder numpy 2, which is what every other dependency here resolves toREST API:
/api/summarizeanswers a window that ends before it starts with a 400 rather than a 404, as/api/interpolatealready did. Both endpoints decide that from one place now
Fixed#
Unit conversion: the mile and the knot are derived from the metres they are defined as, rather than from decimals rounded to four figures.
1.944left knots to metres per second 0.0080% from its km/h route, so the same quantity converted differently depending on which unit its source published – the Met Office publishes wind in knots and the speed target is m/s, so every one of its wind speeds carried the error. A round trip hid all three, both directions sharing the roundingInterpolation: four stations that surround the target point are a valid group however they are ordered. The check drew a polygon through them in the order they are held – by distance from the point, which says nothing about the order around it – so roughly half of all groups described a self-intersecting shape, where
coversis undefined: 11676 of the 37415 groups that do surround the point the tests use were rejected. The convex hull decides now, which is also the regionLinearNDInterpolatorcan answer for. No interpolated value in the test suite changesInterpolation: stations that do not span a triangle are no group, and four on a line come back without a value rather than raising scipy’s
QhullError. A hull with no width still covers a point lying on it, so such a set counted as valid – which is what stops the collection of further stations, so a set that cannot be interpolated at all could end a search that would have found one that canInterpolation: a point the interpolation has no answer for comes back empty rather than as a zero.
LinearNDInterpolatoranswers NaN outside the stations it was given, and for the quantities carrying an occurrence test – precipitation, new snow –NaN >= 0.5is False, so the NaN was reported as a precipitation of exactly noneInterpolation: whether four stations surrounding the point exist is answered from the hull of all of them rather than by enumerating groups, which costs C(N,4) hulls – 91390 for the 40 stations a wide radius reaches, seconds per station against 0.2 ms
DWD road: a station with two road sensors is read as having two, and a reading is one sensor’s. The sensors are a delayed replication inside the station’s subset, so the rank on the key names the sensor where
positionOfRoadSensorsreads 0 or missing in all 1199 subsets measured. Only what is inside that replication can arrive twice – 3 of the dataset’s 14 parameters – so a row can never hold one sensor’s air temperature beside another’s road surface. Of 75 stations whose sensors both reported a surface temperature the median disagreement was 0.3 K. Everything contested is taken from the one sensor reporting most of it, and what is dropped is logged at debug (GH-1908)DWD road: a station’s reading is kept whole where it arrives in parts.
read_bufremits an observation only where every column asked for is present, so asking for all fourteen parameters threw away every reading of anything not universally fitted – against one file of the DD group the parse returned 105 values where the file held 121, the whole ofroadSurfaceTemperatureamong the missing, on a road weather network. The file is read flat instead, one row per station and minute, and a parameter no subset carries comes back as a null columnDWD road: a station group is read once for a request rather than once per station of it. A road file holds a whole group where the collection above asks one station at a time, so every file was decoded once per station and all but that station’s rows thrown away: three stations of one group over two hours parsed nine files twenty-seven times, and now nine (GH-1922)
DWD road: a subset that names no station or no minute is one reading lost rather than a file. One null minute made the whole of pandas’ column a float, where 2026 written as “2026.0” took the timestamp of every station in the file with it
DWD road: a listing entry is a file when it carries the timestamp the file index reads it by, and two entries never do – the directory of a group that holds nothing, which made the listing non-empty so
No files foundnever said so, and theLATESTalias duplicating each family’s newest file, which a request without dates parsed twice. A name that is neither is reported, so a group publishing under two families cannot lose half its readings to a renameDWD road: having nothing to answer with is one shape. There were three – no columns where the group published no file, five where its files held nothing, and the seven a reading has – so the collection walk raised
ColumnNotFoundError: unable to find column "station_id"; valid columns: []from its middle. A frame of no readings now carries the columns a reading does. The empty files of GH-1526 were turned away by their exact length, which is a guess at a shape rather than a reading of one, so one holding no subsets at another length reached the parse and raisedKeyError: 'year'. This is what failedtest_pdbufr_exampleson every CI jobREST API: a BUFR reader missing on the server answers 501 rather than 400. The blanket handler read every failure as the caller’s, so a deployment installed without the
bufrextra told the client topip install wetterdienst[bufr]on a machine they do not administer, andinterpolateandsummarizecalled the same thing a 404. The install line moves to the server logCLI: a missing optional reader is reported rather than raised.
values,interpolateandsummarizecaughtValueError, and theImportErrornaming the extra is not one, so the sentence saying what to do arrived as the last line of a traceback. The refusal has a type of its own,BufrReaderMissingError, so a cycle or a typo inside a provider module keeps its tracebackDWD road: a missing BUFR reader is refused at the request rather than at the parse. The values class called
ensure_pdbufr()and threw the answer away, so the request went through and a bareImportErrorcame back out of the middle of a parseBUFR: asking whether this environment can read BUFR answers, whatever the import does. Each probe had a hole:
ensure_eccodesdid not catch the plainImportErroran eccodes with no compiled library raises, andensure_pdbufrre-raised aRuntimeErrormatched on gribapi’s phrasing of the day. A reader that is installed and does not work says why,No module named 'gribapi.bindings'being a broken install rather than an absent oneExport: a file target renders what the matching format returns.
to_csvjoined a list of station ids into one field and the CSV file target did not, so--target=file://out.csvon an interpolation died withCSV format does not support nested datawhere--format=csvwrote the same data out fine. Zarr failed on the same columnExport: station metadata can be filtered by SQL and written to Zarr, NetCDF or CrateDB. All three named the
datecolumn a values frame has, while a stations frame carriesstart_dateandend_date, sorequest.all().filter_by_sql(...)raisedColumnNotFoundError. The CLI’s--sqlwent through a second copy of the filter that worked but called whatever came back UTC; both run the one filter nowCLI: an empty window is reported once, where
get_valueslogged “No data available for given constraints” and the CLI logged the identical line again before exiting
0.136.0 - 2026-09-04#
Added#
DWD: new
poinetwork (dwd/poi) covering DWD’s POI current weather reports – the hourly observations of roughly the last day, one<station_id>-BEOB.csvper station. 39 parameters athourlyresolution and thenowperiod. This is the observed counterpart todwd/mosmix: the two share the MOSMIX station catalogue, so a station keeps one id across both and a forecast can be compared against what was measured. About 970 of the catalogue’s ~5600 stations report. The file’s two 24-hour radiation columns are left unmapped, both declared W/m2, which a 24-hour figure cannot be – sum the hourly column for a daily total
Changed#
Periods:
periodsis an argument of every request rather than of the three that hand-rolled it, and is resolved against the periods the requested datasets declare. A dataset published under a single period is answered for that period and raisesNoPeriodsFoundErrorfor another. Left out, the periods are still derived fromstart_date/end_datewhere the provider has a release schedule (DWD observation and phenology) and are otherwise every period the requested datasets publish, which for a request naming one dataset is narrower than the provider-wide set it used to be.TimeseriesRequest.available_periods()replaces the per-provider_available_periodsParameter parsing: a parameter the provider does not have is logged as a warning naming what did not match – resolution, dataset or parameter – with the closest name as a “did you mean”, where it used to be an
infoline saying only that it was not found. Half a request silently resolving to less data than was asked for is otherwise invisibleProvider metadata:
MetadataModelcarries the name it was built with as anamefield. ReadDwdObservationMetadata.namerather thanDwdObservationMetadata.__name__Lookups on the metadata models (
metadata["daily"]["kl"],metadata.daily.kl) match the source’s own name case-insensitively, as looking one up byname_originalin a request already did, and suggest the closest name when nothing matchesParameter parsing: the parts of a parameter must be strings. A tuple mixing in an enum member,
(Resolution.DAILY, "kl"), raises aTypeErrornaming the accepted forms rather than anAttributeErrorfrom deep inside the parserPeriods: narrowing the periods of a provider that does not read its data per period – SMHI, MeteoSwiss, met.no Frost and Meteo-France observation fetch all of them by design – is logged as a warning saying the request was not narrowed, rather than answered with everything in silence
Fixed#
Dates: a date string covers everything it names instead of only the instant it starts with.
2020-05is the month of May,2020the year, and2020-05-01a whole day. Every one of these formats is documented as supported, andfilter_by_datematched a single date with==, so a month or a year of hourly data came back empty – no reading falls exactly on the 1st at 00:00. An interval ran to the first instant of the span its second half names, so2017-01/2019-12ended on the 1st of December and2010/2020dropped all of 2020. The CLI and REST API read the string the same way. A date carrying a time still names one instantPeriods: a period no requested dataset publishes is no longer silently turned into every period.
periods="future"intersected the request with the available periods and the empty result read as “no periods requested”, so asking for a period that does not exist returned more data than asking for one that does. It raisesNoPeriodsFoundErrornowPeriods:
periodsreaches providers that never accepted the argument. It was a per-provider constructor field, soNoaaGhcnRequest(..., periods="historical")was aTypeErrorand the CLI’s--periodswas dropped for every provider but DWD observation, derived and phenology – including met.no Frost, whose datasets are published under bothhistoricalandrecentPeriods: a period derived from
start_date/end_dateis checked against the datasets like a requested one. An interval reaching into today derivesnow, whichdaily/klhas no release for, and the request then read no station index at all – reporting no stations where asking forperiods="now"outright raises. Where the interval reaches past a dataset’s newest release, that release answers for itPeriods: an explicit period is answered for a dataset published under a single one. The CLI and REST API forwarded
periodsonly where some requested dataset had more than one, so asking DWD derived forhistoricalon arecent-only dataset read every period the provider hasInterpolation and summarization: the values of one station are no longer read together with another station’s coordinates and distance. Both walks paired the distance-sorted stations frame against the values generator by position, but that frame carries a row per station and dataset while the generator yields one result per station and skips those that returned nothing, so any gap shifted every station after it onto its neighbour’s location
Interpolation and summarization: a result with no rows is a feature collection with no values rather than an
OutOfBoundsError. The feature’s id was read out of the frame’s first row, so a point and window no station covers raisedgather indices are out of boundsfromto_geojson, whereto_dicton the same result answered fine. The id belongs to the pointValues: a request that collected nothing returns an empty frame carrying its columns rather than one with no columns at all, which wrote an empty file where a header was meant and raised
ColumnNotFoundErrorfromget_column("date"). Having no data for the constraints given is an ordinary outcome, so it is no longer logged with a traceback eitherRanked station values: a station whose record lies entirely outside the requested window no longer counts against the station count of
filter_by_rank. It was checked for data before the window was cut and never again after, so it spent one of the ranked slots on an empty frame and the walk stopped short of the stations that do cover the window – which reads exactly like no data existing at allValues: a ranked request no longer reads the whole provider to answer for a window that predates it. A station returning nothing inside the window rightly does not count towards
rank, but then nothing bounded the walk either. A station the index says began after the window ended is skipped without being downloaded; only that direction is read from the index, a station still reporting carrying anend_datea little behind what it can answer forValues: a dataset named more than once in a request – interleaved with another – is fetched and parsed once instead of once per run of consecutive mentions. The station index of NOAA GHCN, Geosphere and MeteoSwiss gained a duplicate row per station the same way
Plots: a parameter is labelled with the unit its values are actually written in. The label mapping was keyed on the canonical name alone while a frame carries
name_originalunlessts_humanizeis on, so nothing matched and the label repeated the name –sd_10 (sd_10). The symbol was also always the target unit’s, thoughts_convert_units=Falseleaves the values as published:10_minutes/solar/sunshine_durationcomes in hours and was labelled seconds. Keyed by resolution and dataset as well as name now, a canonical name being unique only within its datasetParameter parsing: a quality flag requested by name (
daily/kl/quality_wind) says that quality flags come back in thequalitycolumn next to their parameter, where it used to be dropped as if it did not exist. Requesting one as aParameterModelwas dropped the same wayParameter parsing: parameters requested more than once – a dataset and one of its parameters, or the same dataset twice – are returned once rather than per mention, and an iterator of parameters no longer parses as empty, having been consumed by the checks that tell
("daily", "kl")apart from a listProvider metadata: a misspelled key in a metadata declaration is rejected instead of dropped. Only
ParameterModelforbade extra keys, sodate_requieredanywhere else was silently ignored and the declaration fell back to a default. An invalidperiodsordate_requiredon a resolution is now reported as the validation error it is rather than a bareKeyError('periods')CI: the Coolify deploy step had failed on every run since 2026-08-17, so no release or nightly reached the live deployment. Coolify moved
/api/v1/deployfrom GET to POST and left the GET route answering405, whichcurl --failturned into an exit 22 after the images had been pushed
0.135.0 - 2026-08-31#
Added#
DWD: new
phenologynetwork (dwd/phenology) covering the DWD phenological observation network – the day of the year on which a plant reached a developmental phase, atannualresolution, reaching back to 1925. 110 datasets, one per plant and reporter group (annual_common_hazel,immediate_winter_wheat, …), each carrying that plant’s phases as parameters. A value is DWD’sJultagdated to the 1st of January of the reference year, so the entry date is that date plus the value. Both reporter groups are covered, with their own station catalogues
Removed#
Resolution.UNDEFINEDandPeriod.UNDEFINED, which no provider declared any more – the last sources without a stated interval went when WSV and Hubeau began reporting theirs.periods="undefined"now raisesInvalidEnumerationErrorwhere it used to parse and then match no dataset, which is the one visible change.PeriodTypegoes with it, asResolutionTypedid before, and so doesFrequency.MINUTE_2, which named a resolution that never existed
Fixed#
Environment Agency: 15-minute values arrived empty for every window of the last decade and a half. The readings endpoint answers a request naming no window with its default page of 100_000 readings, oldest first, and reports no truncation; at 15 minutes that page runs out after some 2.8 years, so the readings of 2008 to 2011 came back whatever was asked for and the post-filter dropped all of them. The window is now asked for, and the page raised to what it can hold. Daily was never affected, 100_000 daily readings being 274 years, and this also stops a 22 MB download per station
Environment Agency: the whole 15-minute resolution was unreachable, both
dischargeandgroundwater_levelraisingKeyErrorwhile building the station listing from a hand-kept map that still spelled them*_instant. The measure parameter and the period are read off the notation the metadata declares –flow-i-900is flow measured every 900 seconds – so renaming a parameter cannot separate the two againEnvironment Agency: a station is listed once rather than once per matching measure. The listing carries a row per measure, so a station recording two of the requested parameters came back duplicated and
filter_by_rankspent rank on it twiceDWD observation: the
climate_urbanURL was pinned to therecentdirectory whatever period was requested, so anowrequest for a 10-minute urban dataset was answered with data ending at the previous midnight andhistoricalcould not be read at all. The hourly urban datasets are unchanged, DWD publishing a singlerecentdirectory that already holds the full recordDWD observation: where two periods reported the same timestamp, which record survived was decided by neither of the two things that should decide it – the periods were read in the iteration order of a set, varying between interpreter runs, and the deduplication ran over a frame
how="align"had already reordered by value, so the survivor was the lower reading, or a null where one period was missing a measurement the other had. Values now settle on the quality-marked historical record and stations on their most current descriptionDWD observation: station
historyreturned nothing for the 10-minute urban datasets, looking for them under ameta_datadirectory only the non-urban high resolutions have, while the urban zips carry theirMetadaten_*.txtfiles themselves.describe_fields()raised an opaque.item()length error for them, DWD publishing no description PDF at all, and now names what it looked atNetwork: the fsspec listings cache silently never hit for
CacheExpiry.INFINITE. The expiry reachesFileDirCacheasFalse, which diskcache read asnow + False == now, so every entry was stored already expired and each listing was refetched. Falsy expiries now mean “never expire”, as the download-side cache has always read themNetwork: a listing whose TTL lapsed between fsspec’s
in dircacheprobe and the following lookup raised aKeyErrorout ofls()/find(). The dircache is read with a single lookup now, which also stops adetail=Falsecall from caching a name-only listing that laterdetail=Truereads would receiveNetwork: a disabled listings cache created a cache directory named
False,0.0or0.01that nothing readable was ever written to. Those are no longer created, and any left by an earlier version are swept on the next run, guarded so that a folder still holding valid entries is keptNetwork: a float timeout in
fsspec_client_kwargsreached aiohttp unwrapped and failed every request withValueError: timeout parameter cannot be of <class 'float'> type, only int timeouts being wrapped inClientTimeout.download_file()also raisedAttributeError: 'NoneType' object has no attribute 'get'whereclient_kwargswas left at itsNonedefault, andFileDirCachecould not be unpickled, its__reduce__passing three positional arguments in the wrong order to an__init__that takes oneThe app’s
Resolutiontype restates the backend enum and had drifted both ways: it still offeredundefinedanddynamic, and had never gained6_minutes, which Meteo-France is served under
0.134.0 - 2026-08-22#
Added#
The DWD climate indices as four datasets:
annual/monthlyclimate_indicescount tropical nights and frost, summer, hot and ice days, whileannual/monthlyprecipitation_indicescount the days reaching precipitation heights of 0.1 to 20 mm and snow depths of 1 and 5 cm. DWD derives them from the daily observations of the same stations and publishes them in the familiar CDC layout, so they arrive as metadata alone. Twelve canonical parameters are new with them, named for the index the literature knows (count_days_frost,count_days_tropical_night) rather than for its threshold, which the description carriesThe two interpolation search radii are settings of their own:
ts_geo_station_distance_homogeneous(40 km, for a quantity that varies slowly across a region) andts_geo_station_distance_heterogeneous(20 km, for one that decorrelates within a few tens of kilometres). They were module constants, so widening the search for everything meant naming all 514 parameters individually ints_geo_station_distance, which keeps its role as the per-parameter override. On the CLI as--interpolation_station_distance_homogeneousand--…_heterogeneous(--summary_…forsummarize), and on the REST API under the same nameswetterdienst summarizereaches the settingsinterpolatealways could:--summary_station_distanceand--use_nearby_station_distancehad no command options at all, so the summary CLI always ran with the defaults
Changed#
Breaking: WSV Pegelonline reports under the interval it actually records at, so its single
dynamicresolution is replaced by1_minute,5_minutes,10_minutes,15_minutesandhourly, anddynamic/data/...no longer resolves. Pegelonline publishes anequidistanceon every timeseries in the station listing the provider already downloads. The 77 of 787 stations recording different parameters at different intervals appear under each, serving only the parameters that belong there – to find a station’s resolution, request the parameter at every interval that could carry it and read theresolutioncolumn of the station listBreaking: Eaufrance Hubeau reports under the interval each station transmits at, so its single
dynamicresolution is replaced by5_minutes,6_minutes,10_minutes,15_minutesandhourly, anddynamic/data/...no longer resolves. Hubeau publishes the interval nowhere, so unlike Pegelonline’s declaredequidistanceit is measured from the timestamps a station has just published: of 3018 stations reporting over six hours, 2987 resolved to one of the five. A station that has published nothing to measure, or transmits every 20 or 30 minutes, is listed under no resolution rather than a guessed one, and returns as soon as it transmits on a covered interval.Resolution.DYNAMICgoes with these two, andResolutionTypewith itBreaking: the heterogeneous search radius follows the resolution of the request, so an interpolation or summary that already worked returns different values without anything being changed by hand: daily precipitation is drawn from 40 km rather than 20,
minute_10from 15 km. A quantity that decorrelates fast in space does so less the longer it is accumulated – gauge studies put precipitation’s correlation length at roughly 8 km over ten minutes and 33 to 94 km over a day. The factors arets_geo_station_distance_resolution_factors: 0.75 for the minute resolutions, 1.0 hourly, 1.5 for6_hourandsubdaily, 2.0 from daily upwards. Every factor set to 1.0 turns the scaling off; a radius written out per parameter ints_geo_station_distanceis used exactly as given. The table stops at 2.0 because past a day what binds is terrain, the interpolation reading UTM x/y and never station heightBreaking: the
"default"key ofts_geo_station_distanceis gone in favour of the two radii settings above. It was undocumented and did more than it said: it rebuilt the mapping around the given number, so{"default": 30}gave precipitation, fresh snow and visibility 30 km as well as setting the fallback. Setting it now raises and names its replacementsBreaking:
skip_emptyworks through the CLI and the REST API. Neither surface ever setts_complete, andts_skip_emptywas silently switched off wherever it was not, so--skip_empty,--skip_thresholdand--skip_criteriadid nothing at all andfilter_by_ranknever skipped a station over its coverage the way it is documented to. A CLI or REST request that passes--skip_emptystarts skipping stations it used to returnA station’s coverage is the share of the readings the requested window can hold at the parameter’s resolution that the station delivered, counted from the window and the resolution rather than by measuring a frame reindexed onto a grid first. The denominator is the one
ts_completeproduced, with two departures: a reading that does not land on the grid counts as delivered rather than missing, and a request naming no window is measured against the span of the station’s own series.subdailyis measured on what came back, being a bucket rather than an interval whose two providers disagree on the spacingAn NWS request asks the observations endpoint for its own window. The endpoint answers an unqualified request with its whole retention – a rolling week, close to a megabyte – however little was wanted, and the frame was trimmed only after it arrived
Removed#
Breaking: the
ts_completesetting is gone. It reindexed a series onto the grid its resolution implies, at the cost of a materialized timestamp per reading, a station-local-to-UTC window conversion and a three-way interlock withts_drop_nullsandts_shape. The join it built was exact, so a station reporting off the grid – an hourly gauge at seven minutes past, which is how a good third of Hubeau’s hourly stations report – came back as a column of nulls. A caller who wants the grid can build it in a few lines of polars, where the phase is theirs to chooseBreaking:
MetadataModel.timezone_datais gone, and with it thetimezone_datakey all 29 providers declared. It named the zone a provider’s owndatelabels are stamped in andts_completewas the only thing that read it.metadata.timezone, the provider’s civil timezone, is a different field and remains. Everydatea request returns is UTC either way
Fixed#
Breaking:
ts_shape="wide"puts one timestamp of one resolution in a row, and stops filling rows with values that belong to another. The row was keyed on the dataset as well while the parameters were joined on the date alone, so a request spanning two datasets emitted every timestamp once per dataset and filled all of those rows with all of the values – the two rows were identical but for the label. Datasets recorded at one resolution now share a row, withdatasetnull where no single name describes it. The parameter joins are also outer rather than inner, so a parameter with no reading at a timestamp leaves a null instead of removing the timestamp: chained inner joins had reduced the result to the timestamps every requested parameter happened to shareValues of two resolutions are sorted apart in both shapes. The row order was
dataset,parameter,date, so an hourly and a 10-minute precipitation series came back shuffled into each other, one hourly row every six 10-minute onesEaufrance Hubeau lists every station it has rather than the first thousand. The referential answers with a page of 1000 of its 4150 stations and a cursor to the rest, and the query named no page size and followed no cursor, so three quarters of the French gauges were unreachable – including by
filter_by_station_id, which filters against that listEaufrance Hubeau serves the overseas departments. Metropolitan station codes begin with the letter of their hydrographic basin and those of Guadeloupe, Martinique, Guyane, La Réunion and Mayotte with a digit, and the list kept only codes beginning with a letter – excluding all 176 overseas gauges, 86 of them transmitting
The NWS station list holds three American stations it used to leave out – Barking Sands on Kauai and the two US Virgin Islands airports, which MADIS files under a state code rather than a country code. They are named one by one, that column not being readable as a state code in general:
PRin it is Peru andGUis Guatemala. The list was also narrowed tolongitude < 0 and latitude > 0, which is not where the United States ends – the Aleutians west of Amchitka lie beyond the antimeridian and Pago Pago below the equator – so that box is gone, having decided nationality by hemisphereAn NWS station of unknown elevation reads as null rather than as standing 9999 m up. MADIS writes a missing elevation as 9999 and it was cast to a float and passed on unread, for 31 of 3120 stations – and height is what interpolation weighs a neighbouring station by
An NWS request no longer rewrites the settings every other request shares. It stamped its own headers onto
Settings.fsspec_client_kwargsin__post_init__, so a DWD request made after an NWS one went out under NWS’s headers, naming a version eighty-five releases oldA Zarr export names its group for what the whole frame holds rather than for whatever its first row says. A frame of two datasets was filed under whichever came first, and one merging them would have gone to the store root, where
mode="w"clobbers every other group in itts_geo_station_distancevalidates what it is given: a key that is not a canonical parameter is rejected rather than kept and never read, and a negative distance is rejected as it already was forts_geo_use_nearby_station_distance. The CLI and REST API report the rejection as a bad parameter and a 400 rather than a pydantic tracebackSettings round-trip through
model_dump()faithfully:ts_geo_station_distanceserializes the overrides it was given rather than the mapping they were expanded into, which came back as explicit per-parameter overrides that then won over ats_geo_station_distance_heterogeneousset alongsidepoe docsbuilds the documentation again. It ranmake htmlindocs/, which holds no Makefile, so it had failed with “No rule to make target” for as long as that file has been gone. It runs sphinx againstdocs/conf.pynow, as Read the Docs does, andpoe docs:cleanremoves the buildDocs:
ts_geo_min_gain_of_value_pairsis documented with its actual default of 0.1, not 1.2
0.133.0 - 2026-08-19#
Added#
Every parameter of every provider carries a description, 1681 of 1681, closing the last 508 gaps, and they are reported by
discover()– so byGET /api/coverage, thecoverageMCP tool andwetterdienst about coverage. 388 come from the source itself: MeteoSwiss, met.no Frost, KNMI, FMI, AEMET, SMHI, CHMI, Météo-France, the Met Office’s CEDA tables and LHMT publish per-field metadata, translated here where it is not in English, and DWD’s EnglishDESCRIPTION_*_en.pdfsheets andMetElementDefinition.xmlcover its own. Those say what a canonical sentence cannot: that Météo-France’s daily precipitation runs 06h to 06h UTC and is attributed to the earlier day, that Met Office pressure is uncorrected for altitude, that CHMI’s daily temperature is the mean of three fixed observations. The rest are the canonical sentence for the quantity, kept inDERIVED_DESCRIPTIONSso generated text is never mistaken for a source’s own wordingA one-sentence description for all 505 canonical parameters, provider- and resolution-independent, so the glossary says what each quantity is rather than only which unit it comes back in.
metadata.source_descriptionscarries what a given provider’s field means alongside it, for 1057 parametersParameter discovery across all three interfaces:
GET /api/glossary, theglossaryMCP tool andwetterdienst about glossary.coverageanswers which parameters a provider offers; the glossary answers what any of them measures and which unit it comes back in, including anyts_unit_targetsoverride. Filter withparameter=(substring over the 505 names),unit_type=(a closed vocabulary, so an unknown one is a 422 rather than an empty result) andlimit=. A filter matching nothing is an empty list over HTTP and a non-zero exit on the CLI, following grepDataset and resolution descriptions on the metadata models, 88 of 148 datasets and 2 resolutions.
DatasetModel.descriptionandResolutionModel.descriptionhad been declared but never populated, sometadata["hourly"]["data"].descriptionreturnedNonefor every provider216 more parameters can be interpolated and summarized, 343 of 514 rather than 127: soil temperature under a named cover and depth (114), forecast probabilities (65), soil moisture (12), evaporation per crop and soil, concrete slab temperature, humidex, climatological normals, and at the shorter radius precipitation intensity and visibility. The classification was never about the data being unavailable, only about which names had been written into the list by hand. What stays out stays out on purpose: coded observations, quality flags, counts, directions, and the 14 GHCNd soil temperatures whose cover is recorded as
unknown. One cost:interpolate()stops querying stations once every requested parameter has enough of them, so a whole-dataset request against MOSMIX now has 65 probabilities to satisfy and walks further down the rankingCanonical parameter table (
wetterdienst.metadata.parameter_table) holding theunit_typeof each of the 505 canonical names in one place, plus a test checking every provider declaration against it.wetterdienst.metadata.unit_type.UnitTypetypes it, so a mistyped unit type is a type error rather than something only a test can catchECCC monthly and hourly expose the fields that were previously left undeclared, with twelve new canonical parameters: the monthly day counts and the climatological normals, and hourly
temperature_humidex. Units were taken from the values rather than assumed – each normal matches the range of the quantity it is a normal of, and humidex sits at or above the air temperature in all 233 paired observations sampledDWD hourly solar
true_local_time_offset(mess_datum_woz), holding how far true local solar time runs ahead of a record’s timestamp – the longitude correction plus the equation of time. Solar records are stamped with the UTC instant of a whole true-solar-time hour, so the correction sits in the minutes, which wetterdienst rounds away; it was not reachable at all. At station 00183 it runs 40 to 71 minutes, tracing the equation of time about a 54.7 minute longitude termDWD’s two measurement method indicators are returned instead of dropped:
cloud_cover_total_measurement_method(v_n_i) andvisibility_range_measurement_method(v_vv_i). DWD writes them as letters –Pfor a person,Ifor an instrument – in otherwise numeric files, and the value column is Float64, so both were declared but silently dropped. Decoded to 1 and 2; the digits are wetterdienst’s, and 0 is left unused so “not measured” stays distinctNew canonical parameters
radiation_global_intensity,radiation_sky_long_wave_intensityandradiation_sky_short_wave_diffuse_intensityfor sources reporting irradiance (power per area) rather than irradiation accumulated over the interval, pluscooling_degree_day, the counterpart ofheating_degree_day, and themass_per_volumeanddegree_hourunit types the audit turned upGET /api/versionreportsmcp_enabledalongside the version. Whether/mcpexists is a property of the installation, and a client had no way to find out short of opening a session against itDocs: a parameter glossary on the Parameters page, built from the canonical parameter table at build time, with every provider metadata row linking to its entry
Changed#
Breaking:
discover()nests its answer so that every level has a place for its description:{resolution: {"description": ..., "datasets": {dataset: {..., "parameters": [...]}}}}. Consumers readingdata[resolution][dataset]as a list of parameters now readdata[resolution]["datasets"][dataset]["parameters"]Breaking: irradiance (
power_per_area) is returned in W/m² rather than W/cm², so affected values are 10⁴ times larger. W/m² is what WMO specifies and what every source here publishes – MeteoSwiss global radiation now reads 0–1344 where it read 0–0.1344. Affects the 17 declarations usingpower_per_area: KNMI, MeteoSwiss, met.no Frost and RMI. Setts_unit_targets={"power_per_area": "watt_per_square_centimeter"}to keep the old output. Irradiation (energy_per_area) is unchanged, still J/cm²Breaking: KNMI (10 minutes), RMI, MeteoSwiss and met.no reported irradiance under the
radiation_global,radiation_sky_long_waveandradiation_sky_short_wave_diffusenames, which elsewhere mean irradiation in J/cm². These declarations moved to theradiation_*_intensitynames. KNMI is the clearest case: its 10-minuteqgis W/m² while its hourlyQis J/cm², so one name covered two quantities no conversion relates without the accumulation intervalBreaking: Geosphere 10-minute and hourly radiation is returned as published rather than silently rescaled.
cgloandchimare irradiance in W/m² and the parser multiplied them by the interval length to present them as irradiation; values are 16.67× and 2.78× larger, so multiply by 0.06 and 0.36 to recover the old numbers. Daily and monthly are unaffected, using a distinct upstream parameter genuinely accumulated over the interval. This was the last in-parser unit conversion in the libraryBreaking: Météo-France synop
visibility_rangewas the only declaration of that parameter usinglength_long, so it was returned in km while all 15 others return m. It now useslength_mediumHow a parameter behaves in space is declared once, on
CanonicalParameter, rather than as three hand-maintained name lists that had to agree:TimeseriesRequest.interpolatable_parameters, thets_geo_station_distancedefaults and_OCCURRENCE_BASED_PARAMETERSare all views of the newinterpolation("homogeneous"at 40 km,"heterogeneous"at 20 km, orNone) andzero_inflatedfields. The two are separate facts: visibility decorrelates over a few kilometres without being zero-inflated._OCCURRENCE_BASED_PARAMETERSis gone – askPARAMETERS[name].zero_inflatedBreaking, mildly:
TimeseriesRequest.interpolatable_parametersis afrozensetrather than alist. Every caller in the library only tests membership, but it is public, so code that indexes or slices it or relies on its order needs updatingThe
Parameterenum is no longer used inside the library. The three places that hard-coded parameter names used it purely to spell a lowercased string and now spell the canonical name directly; all 186 references resolve to the same names as beforeuvresolves with a three-day cooldown (tool.uv.exclude-newer = "3 days"), so a release has to survive its first days in the wild before entering the lockfile. Recorded as a relative span so it does not churn between runsLocked dependencies refreshed to their latest compatible versions (cryptography 50, fastapi 0.141.1, starlette 1.6, numpy 2.5.2, zarr 3.3, mcp 1.29), and several floors raised to what the code actually needs:
aiohttp>=3.14.0,stamina>=25.1.0,pandas>=2.2.2,shapely>=2.0.4,h5py>=3.11,plotly>=6.1.1withkaleido>=1.0.0andclick>=8.2Provider docs tables no longer carry the
unit typecolumn or own the description text. The unit type is a property of the canonical parameter, stated once in the glossary; the descriptions lived only in markdown, where no interface could reach them and the two copies drifted apart in both directions – three defects found during the unit audit were each caught by the other source being right
Removed#
Breaking: the
Parameterenum, exported from the package root. It listed the canonical names but could not be used to request them –parameters=accepts strings, tuples,ParameterModelandDatasetModel, so passing a member raisedAttributeError: 'Parameter' object has no attribute 'strip'. The names live inwetterdienst.metadata.parameter_tableand are discoverable through the glossary endpoint, MCP tool andwetterdienst about glossaryThe
unit_typekey from provider metadata declarations, 1575 of them across 29 files. It is a property of the measured quantity rather than of the provider, and restating it once per declaration is what let one canonical name pick different output units in different providers. All 1692 parameters resolve to the sameunit_typeas before, but a third-party metadata dict that still declaresunit_typewill now fail to validate and should drop the key. It is no longer part ofParameterModel.model_dump()Breaking: seven DWD observation parameters that were declared but never returned a value, so a request for one now says so instead of answering with an empty frame:
cloud_type_layer1..4_abbreviation,weather_text,end_of_intervalandtrue_local_time. Each was checked against the archive:v_sN_csamatchesv_sN_csexactly across 398,381 records, everywwmaps to one text across 443,827 while two codes share a text, andend_of_intervalnames a column that does not exist in the solar files at allBreaking: five
Parametermembers no provider declared, so no request could return them:HUMIDEX,PRECIPITATION_FREQUENCY,PRECIPITATION_HEIGHT_LIQUID_MAX,TIME_WIND_GUST_MAXandTIME_WIND_GUST_MAX_1MILE_OR_1MINThe
magnetic_field_intensityandwave_periodunit types. Each existed for exactly one parameter and both turned out mis-typed: WSVcurrentis a bearing in degrees and WSVwave_perioda duration in secondsDocs:
eccc/observation/annual.mdandhumidexunder hourly – ECCC’sannualresolution was dropped when values moved to the OGC API, and the overview still described bulk CSV downloads and four resolutions. Thepressure_air_searow of IMGW meteorology daily goes too, that provider no longer exposing it
Fixed#
Breaking: conductivity conversions between per-centimetre and per-metre units were wrong, 8 of the 12 pairs by 10²–10⁴. Conductivity is per unit length, so a shorter length in the denominator means a larger number – 1 S/cm is 100 S/m – and the conversions had that inverted on top of mishandling the µ prefix. Since
siemens_per_meterwas the default target, every conductivity value the library returned was affected: WSV station 71160198 read 0.0021 S/m where the correct figure is 0.2059. Only the two pairs the tests covered were rightBreaking: conductivity is returned in µS/cm rather than S/m, which is the convention in hydrology and what the sources publish – S/m is large enough that rounding to 4 decimals cost real precision, 8.481 µS/cm coming back as
0.0008. Setts_unit_targets={"conductivity": "siemens_per_meter"}for the old unit, which now also returns the correct valueBreaking: WSV Pegelonline values are scaled to the unit the metadata declares. The service publishes the unit per timeseries, not per parameter, and its stations disagree, so a single declaration was silently wrong wherever a station differed: water level is
cmat most gauges butm+NNat 66 andm+PNPat 2, conductivityµS/cmormS/cm, wave heightcmorm. Wave height at MELLUMPLATE came back as 0.07–1.32 next to 12.66–280.6 at LT ALTE WESER for the same quantity, both labelled cm. A station publishing a unit the provider does not know is skipped with an error rather than reported under the wrong one. Them+NNgauges measure against sea level rather than the gauge datum even once scaled – thegauge_zerocolumn says whichBreaking: WSV
currentis renamedflow_directionand returned in degrees, the source’sMGNunit being degrees relative to magnetic north rather than a magnetic quantity;wave_periodis returned in seconds, having been declared with a unit whose symbol was1/s; andclearance_heightis returned in centimetres, having been declared in metres while every station publishes centimetres, so values were 100× too largeBreaking: WSV parameter names are humanized like every other provider’s. The parser wrote the source name lowercased while the humanizing map is keyed on it as declared, so values came back as
sigh,tpandrrather thanwave_height_sign,wave_periodandflow_direction. Withts_humanize=Falsethe names are now the source’s own casing (SIGH) rather than lowercasedWSV
gauge_zerois populated rather than always null for all 738 stations – the station frame built the column asgauge_datum, which_base_columnsthen dropped. This is the column that says which datum a water level is on, so it matters most for them+NNgauges above. Turbidity is checked against the station’s own unit like the other scaled parameters:FNU,TE/FandNTUall name the same formazin scale so no value changes, but a unit that is not on it is now skippedBreaking: ECCC hourly and monthly return data at all. Both declared parameters the OGC API never publishes – hourly carried a copy of the daily field list, monthly carried bulk-CSV column headers – so every request came back empty, and monthly additionally crashed on a
"2023-06"timestamp. The requested field list is derived from the declarations now rather than hand-maintained per resolution, which is what let hourly drift into a copy of daily. Parameter names change for both resolutionsBreaking: ECCC value requests return the whole period rather than an arbitrary 500 records. The OGC endpoint pages at 500 features and a station-year of hourly data is ~8800, so every request was silently truncated – June 1972 at station 4055 returned 16 timestamps where it holds 697. ECCC also exposes its whole ~8600-station network rather than the first 500, so 94% of it could not be requested at all, including every station whose data the hourly collection holds
ECCC no longer fails on the daylight-saving fall-back hour, and stations opened before standard time no longer fail the listing –
America/Torontois-5:17:32in 1895, an offset that is not a whole number of minutes and that polars rejects, so the conversion to UTC happens in Python. Neither showed up while the listing stopped at 500 rows. ECCC hourlywind_directionis returned in degrees rather than tens of degreesBreaking: ECCC daily
cooling_degree_daysandheating_degree_dayswere mapped ontocount_days_cooling_degreeandcount_days_heating_degree, which mean a number of days. ECCC publishes the degree day total for the single day the record covers – for station 2 on 1979-11-02 the mean temperature is 6.3 °C and the value is 11.7, which is18 - 6.3and not any count. They now useheating_degree_dayand the newcooling_degree_day, in °Cd; the values are unchangedBreaking: ECCC
wind_direction_gust_maxis returned in degrees rather than tens of degrees. ECCC’s own docs call the columnDir of Max Gust (10s deg)and the declaration saiddegree, so every bearing came back 10× too small: 17–26 where the true directions are 170–260. Because the wrong values still sit inside 0–360, no range check could have caught itBreaking: four DWD subdaily parameters named the wrong quantity, not merely the wrong unit, each contradicted by the
Metadaten_Parameter_*.txtshipped inside every data ZIP.e_tf_teris whether ice had formed on the wet bulb thermometer, carrying only 0 and 1 across 82901 values, and was declaredtemperature_air_mean_0_05min °C – nowtemperature_wet_ice_formation.ek_teris a 0-9 ground-state code declaredtemperature_soil_mean_0_05m– nowsoil_state_index.vk_teris a 0-9 visibility code declaredvisibility_rangein metres, so subdaily visibility returned “5 metres” for class 5 – nowvisibility_range_class.tf_teris the wet bulb temperature declaredtemperature_air_mean_2m, where DWD’s hourly moisture dataset already maps the same quantity totemperature_wet_mean_2m; confirmed against 83994 paired observations, a median 1.6 °C below the air temperature and never above itBreaking: DWD’s
v_n_iandv_vv_iare named for what they hold, both being measurement method indicators wherecloud_cover_total_indexandvisibility_range_indexdescribed a coded value.visibility_range_classtakes the freedvisibility_range_indexname, which it only ever lacked because the method indicator held it;cloud_cover_total_indexis removed, no provider declaring a coded cloud coverBreaking: DWD hourly cloud cover no longer reports -0.125 of the sky.
cloud_cover_totalandcloud_cover_layer1to_layer4carry -1 where the sky could not be seen at all, SYNOP’s N = 9, which in eighths converted to -0.125. It is null now. DWD documents only -999, so the reading is from the data: -1 stands in 1.2% of station 00003’s hourly observations and fog codes accompany 69.1% of those against 0.8% of the rest. The cloud type codes keep their -1, being dimensionlessBreaking: MET Norway’s in-band codes are decoded rather than returned as measurements. Frost writes them into the value itself: snow depth -1 is “no snow”, a depth of zero rather than an absent one, and cloud cover -3 and 9 both mean the cover could not be estimated – in eighths those converted to -0.375 and 1.125 of the sky, the second looking like a plausible reading. Snow depth -1 returns 0 and cloud cover -3 and 9 return null. Frost keeps the codes out of its own means, so only the elements are touched
Breaking: MET Norway
cloud_cover_totalwas declaredpercentwhile Frost publishes octas – its ownunitfield says so and the values run 0 to 8 – so a fully overcast sky was reported as8 %. Nowone_eighthBreaking: Geosphere
cloud_cover_totalis returned as a fraction rather than a percentage passed off as one. It was declareddecimalwhile Geosphere documentsbewm_mittelas1/100and returns 0-100, so the raw percentage went through thefractiontarget unconverted and every value was 100x its stated meaning. Its ownhumidityalready declaredpercentBreaking: DWD road
visibility_rangeis returned in metres rather than 1000x too large. It was declaredkilometer, but BUFR0 20 001 horizontalVisibilityis metres, nothing in the parser converts, and the provider’s docs page already saidmBreaking: AEMET daily
diriswind_direction_gust_max, notwind_direction. AEMET documents it as the direction of the maximum gust, and its hourly block already separates the twoDWD
humidity_absolute(absf_std) was declareddimensionless. It is a mass of water vapour per volume of air published in g/m³ – station 00433 reads 1.6 to 19.1 – so it now usesmass_per_volume. DWDcooling_degree_hourwas declared in degree days while it accumulates per hour, reporting a monthly 4179.8 °Ch as 4179.8 °Cd, a figure no month can reach. Both values are unchangedRequesting several parameters at once no longer fails when one of them has no data for the station. Concatenating the empty result raised polars’
ShapeError: unable to append to a DataFrame of width 6 with a DataFrame of width 0. This affected every provider that reports parameters separately. A parameter whose download fails is indistinguishable from one that has no data at this point, so such a parameter is omitted from the result rather than failing the requestsummarize()searched for stations within 20 km whatever the parameter. It bounded its search withmax(ts_geo_station_distance.values()), and that mapping only holds entries for the parameters that get the shorter radius, everything else being answered by the default factory. It takes the widest radius among the requested parameters now, as interpolation already didThe three new
radiation_*_intensityparameters are listed inTimeseriesRequest.interpolatable_parameters; without theminterpolate()andsummarize()silently dropped the renamed radiation parameters for the affected providersDescriptions no longer leak between resolutions.
build_metadata_modelwrote them into the metadata dicts it was given, and providers commonly build one resolution’s parameter list from another’s by comprehension, reusing those very dicts: AEMET’s annual parameters are its monthly ones minus humidity, so annual reported “Monthly mean temperature” and its own seven descriptions went nowhere34 docs rows named a field the provider does not use – DWD MOSMIX and DMO documented low cloud cover as
n1where the element isnl, DWD 1-minute and 5-minute carriedprecipitation_formforprecipitation_index, and ECCC and IMGW carried names from before their APIs changed. Each was a row whose description could not reach the model, so correcting them recovered 25 descriptions that already existed. DWD’s layer cloud cover descriptions are correct too: the English sheet truncatesV_S1_NSto “cloud cover of 1. laye” and repeats it forV_S2_NS, so the second layer was described as the firstCITATION.cffnames the released version again and is valid CFF 1.2.0 once more. It had lostversionanddate-releasedand carried an emptyidentifiers:key, which parses as null and fails the schema, so the file every citation tool reads described no particular release and could not be converted at all. A test now ties it to the sources it duplicates
0.132.0 - 2026-08-04#
Changed#
Bump the minimum supported polars version to
>=1.43.0(from>=1.15.0), required by theexplode(empty_as_null=...)andconcat(how="horizontal_extend")APIs used below
Fixed#
Resolve polars and pyarrow deprecation warnings surfaced in the test suite: pass explicit
empty_as_null=Trueto allexplode()calls, switchconcat(how="horizontal")tohow="horizontal_extend", and read Feather exports viapyarrow.ipc.open_file()instead of the deprecatedpyarrow.feather.read_table. Also vectorise two per-elementmap_elementscalls (eaufrance/hubeau, ea/hydrology) that had native polars equivalentsType the station response-model
statefield as nullable so thestationsMCP tool stops rejecting MOSMIX/DMO stations. These forecast stations have no state and serialisestateasnull, but_Station.stateand_OgcFeatureProperties.statewere typed non-null, so the derived MCP output schema failed validation withOutput validation error: None is not of type 'string'for everymosmix/dmostation listing (the same schema drift fixed forvalues/interpolate/summarize)
0.131.0 - 2026-08-02#
Added#
Add a DWD SWSMOS network (
dwd/swsmos) exposing the road weather forecast (Straßenwetter-MOS) for DWD’s ~1800 road weather stations. Each model run provides an hourly forecast out to +167 hours (selectable viaissue, default: the latest run): air, dew-point and road surface temperature, liquid precipitation, precipitation probabilities and the road surface condition. This is the forecast counterpart to the DWDroadobservation networkAdd the DWD
10_minutesurban climate (Stadtklima) datasets to thedwd/observationnetwork, served from DWD’sclimate_urban/path (recent period only):urban_precipitation,urban_pressure,urban_solar,urban_temperature_air(incl. the newtemperature_radiant_mean_2mparameter),urban_temperature_extreme,urban_temperature_soil,urban_windandurban_wind_extreme. These complement the existing hourly urban datasets. The urban station-description lists are parsed by content because they frequently leave the optional date and Bundesland fields blankAdd an IPMA (Portugal) observation provider (
ipma/observation) backed by the key-lessapi.ipma.ptopen-data JSON feeds. Provides near-real-time hourly observations (temperature, humidity, sea-level pressure, wind speed/direction, precipitation, global radiation) from ~222 stations. Recent-only (a rolling ~1-day window), so a date range within the last day is required. The-99.0missing sentinel becomes null and the 8-point wind-direction code is converted to degreesAdd an LHMT (Lithuania) observation provider (
lhmt/observation) backed by the key-lessapi.meteo.ltJSON REST API. Provides hourly observations (temperature, humidity, wind speed/gust/direction, cloud cover, sea-level pressure, precipitation, snow depth) from ~52 stations, with historical data back to roughly 2016 fetched per station and day. Settled past days are cached indefinitely while the current day uses a short cacheAdd a Met Office (UK) observation provider (
metoffice/observation) backed by the MIDAS Open archive on CEDA (UK Open Government Licence). Covers eight datasets across daily and hourly resolution (rain, temperature, weather, wind, radiation, soil temperature). Requires a free CEDA account (WD_AUTH__CEDA=<username>:<password>); the bearer token is minted from those credentials and cached in-process until shortly before it expires. Multiple report types per day are collapsed to one value per calendar day, multi-day rain accumulations are dropped, and native units are normalised (e.g. visibility from decametres to metres)
Changed#
Sharpen the
interpolate/summarizeendpoint descriptions (which become the MCP tool descriptions) and the MCP instructions so agents stop routing plain weather questions to them.stations->valuesis now stated as the default for weather at a named place even when a specific past date is given, and interpolate/summarize are called out as opt-in estimates – used only on explicit request or when no station with data is near the point – because they add inaccuracy
Fixed#
Type the
interpolate/summarizeresponse-model items to match what the endpoints serialise, so their MCP output schemas stop rejecting valid results._InterpolatedValuesItemDictand_SummarizedValuesItemDictnow include theresolution/datasetkeys (always present in the rows) and typevalue/distance_mean/distance/taken_station_idas nullable: interpolating or summarizing a point with no station in reach serialisesnullfor those fields, which the previous non-null schema rejected (the same schema drift fixed forvaluesin 0.130.0)
0.130.0 - 2026-07-30#
Changed#
Raise stale/incorrect dependency lower bounds to honest, still-compatible floors (no change to the resolved/tested versions). Most importantly
fastapi>=0.115(was>=0.95.1): the REST endpoints use Pydantic query-parameter models, a feature added in FastAPI 0.115, so the old floor advertised support the code never had. Also bumphttpx>=0.27,uvicorn>=0.30,duckdb>=1(restapi/sql/ duckdb extras),xarray>=2024.6,fsspec>=2024.6,python-dateutil>=2.8.2,tabulate>=0.9,tqdm>=4.64,click>=8.1, and add a lower bound tosqlalchemy-cratedb>=0.40(was unbounded below). Dev/docs groups are unchangedRewrite the
history,summarizeandinterpolateendpoint descriptions (which become the MCP tool descriptions) so small models stop mis-routing plain weather questions to them: they now say what each returns and that it is not measured weather –historyis station metadata history (name/location/sensor changes),summarize/interpolateestimate a value for a point between stations. Add a “Choosing a tool” note to the MCP instructions pointing weather questions at thestations->valuesworkflow
Fixed#
Match station names with
WRatio(wastoken_sort_ratio) infilter_by_name, so a bare place name finds its stations:name="Kiel"now returnsKiel-Holtenau/Kiel-Kronshageninstead of nothing (token_sort_ratioscored the length gap “Kiel” vs “Kiel-Holtenau” at ~47%, below the 0.8 threshold).WRatiois a partial matcher, so a query that is a common sub-token (e.g.name="Bad") matches many stations – setname_threshold=1.0(keep only score-100 matches) or use thesqlfilter (sql="name = 'Aach'") for an exact name matchHonor the
rankargument infilter_by_name(it was silently ignored, always returning up to 5 matches): it now returns therankbest matches, best score first (default 1). ThestationsREST/CLI listing requests several name candidates by default and passes through an explicitrankLimit the
stationslisting to the requestedrankon the REST API (/api/stations) and CLI (stations). A rank filter keeps every station in the frame (theranklimit is applied lazily during value collection), so a listing that asked for the N closest returned all stations instead – e.g.rank=3near Kiel returned all 1284 DWD stations (a ~365 KB response that overwhelmed MCP clients). Listings now return therankclosest by distanceReturn
404for the OAuth discovery paths (/.well-known/oauth-authorization-server,/.well-known/oauth-protected-resource) on the REST API so MCP clients treat the open/mcpserver as no-auth instead of attempting (and failing) OAuth Dynamic Client RegistrationType
value/qualityasfloat | None(wasstr) in the_ValuesItemDictresponse model, so the/api/valuesOpenAPI schema matches the numbers actually serialised. The MCPvaluestool derives its output schema from that model, and the wrongstrtype made FastMCP reject valid results with9.0 is not of type 'string'. This fixes the real schema instead of the previous workaround (validate_output=False), so MCP output validation is now enabled again
0.129.0 - 2026-07-27#
Added#
Add an optional Model Context Protocol (MCP) endpoint at
/mcpon the REST API, exposing the data endpoints as MCP tools over the streamable-HTTP transport (via FastMCP). The tools are made agent-friendly (workflowinstructions, clean tool names, hidden noise endpoints, permissive output validation) so even small models can drive them. Enable it with themcpextra (pip install wetterdienst[mcp]), which is included in the Docker imageAdd DWD weather alerts (CAP warnings) provider (
dwd/alerts) with Python API, CLIalertscommand and REST/api/alertsendpoint: all active warnings, one row per alert, with a GeoJSON MultiPolygon geometry, on community (Gemeinde) or district (Landkreis) granularity; adateselects a historical snapshot from DWD’s rolling ~48-hour windowParse DWD radar site BUFR products (echo top, reflectivity) into a polars DataFrame on
RadarResult.df, opt-in via theread_bufrsetting (requires theeccodesandbufrextras)Add RMI (Belgium) observation provider with 10-minute, hourly and daily resolution from the automatic weather station (AWS) network (no authentication required)
Add CHMI (Czechia) observation provider with 10-minute, hourly, daily, monthly and annual resolution (no authentication required)
Add FMI (Finland) observation provider with hourly and daily resolution (no authentication required)
Changed#
Add descriptions to every field of the REST request models (stations, values, interpolate, summarize, history, issues). They surface in the REST API’s OpenAPI schema (
/docs) and in the generated MCP tool parameters, making both surfaces self-documenting.REST API and CLI: the
with_metadataandwith_stationsoptions now default tofalseon thestations,values,interpolate,summarizeandhistorycommands/endpoints, so output contains just the requested data by default. Passwith_metadata=true/with_stations=true(or--with_metadata=true/--with_stations=true) to include the provider-metadata and station blocks as before.Reduce DWD MOSMIX/DMO KML parsing memory by streaming the zipped KML instead of decompressing it fully in memory (~6.5x lower peak RSS on MOSMIX-S)
Refresh locked dependencies to their latest compatible versions (polars 1.43.1, pyarrow 25, fastapi 0.140.7, uvicorn 0.51, and others). Update the dev toolchain (ruff 0.16, ty 0.0.64) and adopt their new checks: ignore
CPY001(no per-file copyright headers) andPLR0917(too-many-positional-arguments, sibling of the already-ignoredPLR0913), fix alog.exception()call outside an exception handler, wrap implicitly concatenated test URLs, and narrow the DWD-derived available-dates set somin()/max()no longer seedatetime | None
Fixed#
Parse NOAA GHCN-hourly (GHCNh) timestamps from the provided ISO date column instead of reconstructing them from separate year/month/day/hour/minute fields
Fix the
about fieldsCLI command, which crashed with aTypeErrorbecause it forwardedresolutionas a separate argument todescribe_fields()Report coverage cleanly for metadata-less standalone networks (
dwd/radar,dwd/alerts):about coverageand/api/coveragenow return a clear message instead of crashing with anAttributeError/ HTTP 500
0.128.0 - 2026-07-22#
Added#
Add KNMI (Netherlands) observation provider with 10-minute, hourly and daily resolution (requires a free KNMI Data Platform API key)
Add DMI (Denmark) climate data observation provider with hourly, daily, monthly and annual resolution (no authentication required)
Add AEMET (Spain) observation provider with hourly (real-time), daily, monthly and annual resolution
Add SMHI (Sweden) observation provider with 1-minute, hourly, daily and monthly resolution
Add Météo-France (France) synop network (subdaily, 3-hourly)
Add Météo-France (France) observation network (6-minute, hourly, daily, monthly)
Add MeteoSwiss (Switzerland) observation provider with 10-minute, hourly, daily, monthly and annual resolution
Changed#
Reduce the memory footprint of aggregated value results (
.values.all()) by storing thestation_id,resolution,datasetandparametercolumns as polarsEnuminstead ofString(roughly halves the size of tidy frames); note that the dtype of these columns is nowEnum. To get plainStringcolumns back (e.g. for.stroperations or strict dtype checks), cast them viadf.with_columns(pl.col(pl.Enum).cast(pl.String))
0.127.0 - 2026-07-07#
Added#
[REST API]The/api/coverageendpoint now reports adate_requiredflag per provider/network, true if any of its resolutions require a date range for value queries (e.g. MET Norway Frost). Lets frontends surface this before submitting a query rather than after the query fails.
Changed#
[MET Norway Frost]Value requests now fetch all parameters of a dataset/resolution in a single batched request (comma-separatedelements=) instead of one request per parameter, cutting the number of HTTP requests by up to 11x for multi-parameter queries. Falls back to the previous per-parameter behavior (including historical time-series discovery) if the batched request itself returns a 404.[IMGW]File listing now prunes IMGW’s per-period subfolders (namedYYYYorYYYY_YYYY, encoding the exact date range they cover) to only those overlapping the requested date range, instead of recursively listing the entire directory tree on every request. Cuts the number of HTTP requests from ~33 (meteorology) / ~74 (hydrology) down to the 1-2 folders that actually matter for a given query.
Removed#
[IMGW]Removed the hardcoded lat/lon override for hydrology station150190410, a workaround for a corrupted upstream CSV line from ~2024-02. The station’s data has been clean upstream for a while, so the override had become a no-op; keeping it around risked silently clobbering a legitimate future coordinate change for that station.
Fixed#
[IMGW]Station listing for both meteorology and hydrology no longer fails: the upstream station CSVs gained an extra “founding year” column and switched from a Windows codepage to UTF-8, which broke column parsing and produced mojibake names. Also fixed a station-list column-index bug (hydrology latitude/longitude were reading the wrong columns), a missingreturn_dtypeon the lat/lon DMS-to-decimal conversion, and station rows no longer carrying aresolution/datasettag, which made.values.all()fail outright.[IMGW]Hydrology value downloads now honorWD_USE_CERTIFI/use_certifi, matching the station list fetch and the meteorology provider. Previously it was silently ignored for the actual data downloads.[IMGW]Hydrology daily requests touching 2023 or later no longer crash withValueError: month must be in 1..12. IMGW switched from twelve monthly zips per year to one consolidated yearly zip starting 2023, which broke the date-range parsing that assumed acodz_YYYY_MM.zipfilename. Also handles the two different (and, for 2024, outright malformed) CSV export quirks IMGW has used for these consolidated files since, for both daily and monthly hydrology data: semicolon-separated unquoted rows in 2023, and in 2024 every row wrapped in a broken extra pair of quotes with doubled inner quotes.[IMGW]Meteorologysynopdaily requests no longer crash withTypeError: '<' not supported between instances of 'NoneType' and 'NoneType'. Unlike every other IMGW meteorology dataset,synopdaily has always been archived one file per station per period (e.g.2024_100_s.zipfor the station whose id ends in100) rather than one file per month across all stations, going back to at least the 1966-1970 archive — the URL selection logic never accounted for this, sosynopdaily was non-functional for any date range.
0.126.0 - 2026-07-07#
Fixed#
[REST API]Station listing no longer fails withStartDateEndDateErrorfor providers withdate_requireddatasets (e.g. MET Norway Frost hourly, 10-minute, 6-hour). The date requirement only applies to value fetching, not to listing available stations. Also fixed aTypeErrorwhen constructing requests for providers that declare multi-period datasets but do not accept aperiodsconstructor argument.
0.125.0 - 2026-07-06#
Added#
[MET Norway Frost]Add new providermetno/frostfor the Norwegian Meteorological Institute’s Frost API. Supports 10-minute, hourly, 6-hour, daily, monthly and annual resolutions with ~2200 stations across Norway. Authentication via free API key (WD_AUTH__METNO_FROSTenv var). Historical synoptic 6-hourly data is retrieved via anavailableTimeSeriesfallback that resolves the time-series-specific query parameters required by the Frost API.[Settings]Load.envfiles automatically viaenv_file=".env"and support nested env vars viaenv_nested_delimiter="__"(e.g.WD_TS_UNIT_TARGETS__temperature=degree_fahrenheit).[Metadata]Addauth: bool = Falsefield toMetadataModelso providers requiring an API key can declare it. Defaults toFalsefor all existing providers.[API]Addis_configured() -> boolandis_valid() -> boolclassmethods toTimeseriesRequest.is_configuredchecks whether credentials are present (cheap, offline);is_validprobes the API to confirm they actually work (should be cached by the implementation). Both default toTruefor providers that need no auth.[REST API]GET /api/coverage(no parameters) now returns{provider: {network: {auth: bool, configured: bool, valid: bool}}}instead of{provider: [network]}, exposing per-network auth status to API consumers.[REST API]AddGET /api/auth?provider=&network=endpoint that returns{provider, network, auth, configured, valid}for a specific provider/network, allowing clients to re-check credential validity without fetching all coverage.validis alwaysfalsewhenconfiguredisfalse(probe cannot run without credentials).
0.124.0 - 2026-06-30#
Added#
[DWD MOSMIX / DMO]Addavailable_issues(station_id, settings)classmethod toDwdMosmixRequestandDwdDmoRequestthat lists the model-run datetimes currently available on DWD’s OpenData server for a given station (MOSMIX_L single-station KMZ files and ICON single-station KMZ files respectively).[CLI]Addwetterdienst issues --provider <p> --network <n> --station <id>command that prints available issue datetimes as a JSON array.[REST API]AddGET /api/issues?provider=<p>&network=<n>&station=<id>endpoint returning{"issues": ["<UTC ISO datetime>", ...]}. Currently supported:provider=dwd, network=mosmixandprovider=dwd, network=dmo.
Fixed#
[DWD MOSMIX / DMO]Fixissue(and DMOlead_time) parameters being silently ignored when calling the REST API or_get_stations_requestdirectly. The guard usedisinstance(api, DwdMosmixRequest)whereapiis the class itself (not an instance), so the condition was alwaysFalseandDwdForecastDate.LATESTwas used regardless of the caller’s intent. Changed toissubclassand added aNone-guard so that omittingissuestill falls through to the dataclass default (DwdForecastDate.LATEST).[Frontend / Meteogram]Fix x-axis tick labels overlapping massively on narrow mobile screens. Tick interval is now chosen based on actual chart pixel width: a 7-day MOSMIX forecast on a ~360 px phone uses 24-hour ticks instead of 6-hour ones (28 → 7 labels). Day-name annotations above the chart also shorten to weekday-only (Mo) when a day occupies fewer than 44 px, preventing header collisions on long forecasts.
0.123.0 - 2026-06-18#
Fixed#
[DWD Observation]Skip periods where all file downloads fail (emptyfilenames_and_files) before passing to the parser, preventing apolars.exceptions.InvalidOperationErrorfrompl.concat(..., how="align")caused by a schema-lessLazyFramebeing mixed with valid ones.Reduce stamina retry attempts in
download_filefrom 3 to 2 to limit worst-case wait time per file on persistent network failures.Add a default
aiohttp.ClientTimeout(total=30)tofsspec_client_kwargsinSettingsso HTTP connections time out after 30 seconds instead of hanging indefinitely.Wrap bare
inttimeouts inaiohttp.ClientTimeoutinsideHTTPFileSystem.__init__so that aiohttp >= 3.9 (which rejects plain int timeouts) works correctly withfsspec_client_kwargs.
0.122.0 - 2026-06-07#
Fixed#
Fix
download_fileretry mechanism: the previous@stamina.retrydecorator was broken (theon=predicate checkedClientResponseinstead of an exception, and all errors were swallowed before stamina could see them). Replaced withstamina.retry_contextwrapping thefilesystem.cat_filecall directly. Retries are now triggered onFileNotFoundError,FSTimeoutError,ClientConnectorError,ClientResponseErrorandClientPayloadError; all exhausted errors are returned asFileobjects rather than propagated.[DWD Dmo]Convert latitude and longitude from degrees and minutes to decimal degrees usingconvert_dm_to_dd.Fix station history parsing and add tests
0.121.1 - 2026-05-26#
Fixed#
Propagate
Settings.use_certifithroughNetworkFilesystemManager.getand the download helpers (download_file,download_files,list_remote_files_fsspec) so that fsspec’s HTTP clients use the certifi certificate bundle when requested. This ensures provider code using these helpers respects the globaluse_certifisetting. Fixes #1669. Thanks to @KonstantinWaser for reporting the issue.
0.121.0 - 2026-05-09#
Added#
Interpolation / summarize: greatly expanded the set of interpolatable parameters beyond the original six. All continuous, spatially-correlated meteorological fields are now supported, organised into two distance classes:
~40 km (homogeneous / large-scale): all temperature variants at 2 m and 0.05 m (mean, max, min, last-24 h, multiday, mean-of-extremes), dew point, wet-bulb, wind-chill, surface temperature, soil temperatures (0.02 m – 2 m depth), heating/cooling degree aggregates, all humidity variants (
humidity,humidity_absolute,humidity_max,humidity_min,humidex), all wind-speed variants and gust-max variants, wind movement, Beaufort scale, all sunshine-duration variants, global / diffuse / direct / long-wave radiation, all pressure variants (site, sea-level, reduced, max, min, tendency, vapour), total / effective / time- windowed cloud cover, and evapotranspiration / evaporation fields.~20 km (heterogeneous / locally variable): all precipitation-height variants (including liquid, droplet, rocker, last-1 h … last-24 h, multiday, significant- weather, max), precipitation duration, new-snow depth and its multiday / max variants, and new-snow water-equivalent variants.
Fixes #1651 (
sunshine_durationwas silently dropped by bothinterpolateandsummarizebecause it was absent frominterpolatable_parameters).
Interpolation: occurrence-threshold zeroing (previously only applied to
precipitation_height) is now applied to all zero-inflated accumulation parameters: every precipitation-height variant, precipitation duration, new-snow depth variants, and new-snow water-equivalent variants. This prevents spurious small positive values when the surrounding stations recorded no event.Tests: five new unit tests for the occurrence-threshold logic in
core/interpolate.py(test_occurrence_threshold_*) and two new remote integration tests (test_interpolation_sunshine_duration_daily,test_interpolation_snow_depth_new_daily).CLI:
--start-date/--end-dateoptions added to thevalues,interpolate, andsummarizecommands as a user-friendly alternative to the--dateISO-8601 interval syntax. Passing only--start-datetreats it as a single-point date; passing only--end-datelikewise.--dateand--start-date/--end-dateare mutually exclusive and raise aUsageErrorwhen combined.CLI: comprehensive
helptext added to all options across thevalues,stations,interpolate, andsummarizecommands, including--provider,--network,--parameters,--periods, all station-filtering options,--format,--target,--shape,--humanize,--convert_units,--unit_targets,--skip_empty,--skip_criteria,--skip_threshold,--drop_nulls,--with_metadata,--with_stations,--pretty, and--issue.
Fixed#
Station name filtering (
filter_by_name,--name) was case-sensitive, causing lowercase queries like"darmstadt"to return no results. Fixed by addingprocessor=fuzz_utils.default_processto the rapidfuzz call.NOAA GHCN hourly: adapted to upstream format changes — the station list CSV now contains non-integer values in the
WMO_IDcolumn (e.g."open"), and the per-station PSV files renamed the station identifier column fromStation_IDtoSTATION.DWD observation requests no longer raise
MetaFileNotFoundErrorwhen a period’s station description file is absent on the server (e.g.10_minutes/precipitation/now). The missing period is skipped with a warning and remaining periods are still returned.No internet connection no longer raises an error; instead, an empty result is returned.
ClientConnectorError(TCP/DNS failures) is caught indownload_fileand stored asNoInternetErrorin theFileobject. All provider call sites return emptyDataFrame/LazyFramevalues accordingly. Fixes #1624.NetworkFilesystemManagernow usesthreading.local()instead of a class-leveldictso each thread inThreadPoolExecutor-based parallel downloads gets its ownWholeFileCacheFileSysteminstance, eliminating a race condition in the in-memory metadata cache that causedTypeError: cannot unpack non-iterable bool objectatfsspec/implementations/cached.py:716.Reverted the directory-listing cache from
shelved-cache+cachetoolsback todiskcache.shelved-cachewraps Python’sdbm/shelve, which is not safe for concurrent access; parallel pytest-xdist workers sharing the same cache directory caused_dbm.errorcascades and cascading test failures.diskcacheuses SQLite and is both thread- and process-safe.FileDirCachemapping semantics corrected:__getitem__now raisesKeyErroron a cache miss (previously returnedNone) and short-circuits whenuse_listings_cacheisFalse;__contains__uses a proper existence check so falsy cached values (e.g. an empty directory listing[]) are no longer misreported as absent;__len__delegates to the underlying cache directly instead of materialising all keys.
Security#
diskcacheadvisory GHSA-w8v5-vhqr-4h9v (CVE-2025-69872, pickle deserialization) acknowledged and suppressed inpysentryanddependency-review. Exploitation requires write access to the local user cache directory, which is not a realistic attack vector for this project.lxmlupgraded to 6.1.0, resolving GHSA-vfmq-68hx-4jfw (local file read viaresolve_entities).
Changed#
Station name filtering now uses
token_sort_ratioinstead oftoken_set_ratio, making word-order variations (e.g."Koeln Bonn"→"Köln/Bonn") match correctly. Zero regressions across all 1281 stations; 149 stations now resolve to their correct match when searched by exact name.Default fuzzy-match threshold for
filter_by_namelowered from0.9to0.8, allowing single-character typos and common shorthands to match while maintaining 100% precision.name_thresholdis now exposed in the CLI (--name-threshold) for thestationsandvaluescommands, and wired throughStationsRequest/ValuesRequestmodels so the REST API/api/stationsand/api/valuesendpoints honour it automatically. All previously stale0.9defaults in stripes endpoints updated to0.8.
0.120.0 - 2026-04-11#
Added#
Add DWD Derived data for hourly climate (duett), daily soil, and monthly soil datasets, including parameters for evapotranspiration, soil moisture, soil temperature, frost/thaw depth, radiation, sunshine duration, and heating/cooling degree days, thanks @mspils and @jb-at-bdr
Changed#
ECCC observation: migrate data retrieval from legacy CSV bulk download to the
api.weather.gc.caOGC API. Updates parameter metadata to match new column naming, rewrites wide-to-long pivoting to handle*_flagquality columns, and expands timezone mapping to include daylight saving variants.
Fixed#
DWD
describe_fields: adapt to updated PDF location and format. Description PDFs moved from the period subdirectory (e.g.daily/kl/recent/) to the dataset directory (daily/kl/). The PDF content now uses a structured table format with column name and description on the same line. The German section header changed fromParametertoCSV Inhaltsbeschreibung.
0.119.0 - 2026-02-17#
Added#
New API endpoint for climate stripes data
Changed#
Improve interpolation and summary
DWD DMO: Remove unnecessary validation for minimum dataframe length in date extraction
Rename API endpoint /stripes/values to /stripes/image
Migrate from
diskcachetocachetoolsandshelved-cachefor caching functionality. The new implementation usesshelved_cache.PersistentCachewrappingcachetools.TTLCachefor improved maintainability while preserving all existing functionality and API compatibility.
Fixed#
Update API endpoint for geosphere data retrieval
0.118.0 - 2026-02-01#
Added#
Implement station history retrieval; added API and request support to query historical station snapshots and lifecycle events (created, updated, decommissioned) by station id and dataset.
Add
use_certifisetting to use certifi certificate bundle instead of system certificates for HTTPS connections. Default isFalsefor backward compatibility. Can be enabled viaSettings(use_certifi=True)or environment variableWD_USE_CERTIFI=true.
Changed#
Move code to src directory
Filter By Rank: Sort stations by distance and station id
Soften validation for numbers and integers in UI core request models
0.117.0 - 2026-01-03#
Added#
Restapi: Add /api/version endpoint to get current version of wetterdienst backend (used in frontend)
0.116.0 - 2025-12-09#
Changed#
Improve polars code, thanks @SeeBastion524
Fixed#
Allow concatenation of station data with varying columns, thanks @jb-at-bdr
Adjust data type of “name” column, thanks @jb-at-bdr
0.115.0 - 2025-11-24#
Added#
Add classifier for python 3.14
Add new data of DWD Derived, thanks @jb-at-bdr
Changed#
Update docker image to use python 3.14
Fixed#
Cast value in interpolate function to float
@ninjeanne reported that wetterdienst lately quirks when running interpolation. This issue is related to one of the new polars versions > 1.33.1. A shorthand fix would be to cast the value coming from the scipy interpolate function to a float.
0.114.3 - 2025-11-07#
Fixed#
[DWD Obs] Fix encoding issue
0.114.2 - 2025-11-05#
Fixed#
[DWD DMO] Fix path for
icon_euand minor fixes
0.114.1 - 2025-11-01#
Fixed#
Fix global import of duckdb exception in
to_targetmethod
0.114.0 - 2025-10-31#
Added#
[DWD Obs] Use utf8 encoding for parsing data
Add
if_existsargument toto_targetUse more polars-native methods
Fixed#
[DWD Road]: Skip empty files
Changed#
Bump polars minimum to 1.15.0
0.113.0 - 2025-09-21#
Added#
Make Mosmix and DMO a lot faster for multiple stations requests
Changed#
Bump pypdf to <7
Make pypdf optional
0.112.0 - 2025-09-06#
Changed#
Switch back to
WholeFileCacheFileSystemfor cachingImprove more things on caching
Update uv.lock
Polars: Set format and timezone on datetime conversion
0.111.0 - 2025-08-03#
Added#
Make humidity interpolatable
Improve interpolation configuration
Set missing
return_dtypein fileindex functionSet
return_dtypefor polars functions
Changed#
Pin zarr to
>=3.1;python_version>=3.11Docker: Copy uv bin from uv image
Pin lxml to <7
Fixed#
Parse parameters only if any are given
Fix export for interpolated values to csv
Round timestamps of hourly solar data to nearest hour
Fix several polars issues
Docker: Install chromium to fix png export
0.110.0 - 2025-07-23#
Added#
Make retry of
download_filemore robustOverhaul docs switching to
sphinxandmyst-parserImprove exception handling in restapi
Improve download of files
Changed#
Drop upper version pins for fsspec and tzdata
Introduce
wetterdienst.model, streamline othersBump minimum kaleido version to
0.2.2
Fixed#
Export: Fix influx tags and fields
[NOAA GHCN hourly] Fix metadata creation
Include resolution column in wide format
Disallow
polars==1.31.0due to issues
0.109.0 - 2025-06-03#
Changed#
Split
coordinatesandbboxinto separate argumentsBump dependencies
0.108.0 - 2025-04-25#
Added#
Improve restapi look and add impressum
Add uvloop and httptools for speed via
uvicorn[standard]
Changed#
Use dataclass everywhere
Refactor query method
Adjust retry of function
download_file
Fixed#
Fix numerous radar tests
0.107.0 - 2025-03-25#
Changed#
Refactor
download_file
Fixed#
Fix false attribute parsing by pydantic model in cli
Fix datetime parsing for generic radar data
0.106.0 - 2025-03-05#
Fixed#
Improve parameter unpacking in
ParameterSearch.parseFix docker manifest
0.105.0 - 2025-03-01#
Added#
Add user agent to default
fsspec_client_kwargsAdjust apis to track resolution and dataset (allows querying data for different resolutions and datasets in one request)
Changed#
Improve date parsing across multiple apis
Cleanup docker image
Improve numerous apis
Fixed#
[WSV Pegel] Fix characteristic values and improve date parsing
0.104.0 - 2025-02-15#
Changed#
Reduce the margin of the stations plot
Make pydantic models for uis simpler
Migrate from
sklearn+numpytopyarrowfor location queryingRemove command from Docker file
Improve workflow for Docker
Get rid of columns enumeration
[NOAA GHCN] Improve date parsing and other fixes
0.103.0 - 2025-02-02#
Added#
Stripes: Replace matplotlib by plotly
Explorer: Add download button for plot
Split up plotting extras into
plottingandmatplotlibInterpolation/Summary: Add dataset to DataFrame
Add plotting capabilities
Changed#
Update docker image extras
Removed#
Remove unused cachetools dependency
Fixed#
Fix benchmark code
Make fastexcel a polars extra
Drop click-params dependency
Make pyarrow a polars extra
0.102.0 - 2025-01-17#
Added#
Add cmd to docker image
Changed#
Use
to_list()[0]instead offirst()
0.101.0 - 2025-01-13#
Added#
Move more details into
MetadataModel
Changed#
[DWD Obs] Make the download function more flexible using threadpool
[DWD Obs] Cleanup parser function
[DWD Obs] Improve fileindex and metaindex
Fixed#
[DWD Obs] Reduce unnecessary file index calls during retrieval of data for stations with multiple files
0.100.0 - 2025-01-06#
Added#
Add logo for restapi
Breaking: Add dedicated unit converter
Attention: Many units are changed to be more consistent with typical meteorological units. We now use
°Cfor temperatures. Also, length units are now separated inlength_short,length_mediumandlength_longto get more reasonable decimals. For more information, see the new units chapter (usage/units) in the documentation.
Changed#
Add reasonable upper bounds for dependencies
Fixed#
Filter out invalid underscore prefixed files
0.99.0 - 2024-12-30#
Added#
Add setting
ts_complete=Falsethat allows to prevent building a complete time series
Changed#
Docs: Change to markdown using mkdocs
Settings: Switch to
pydantic_settingsfor settings managementImprove wetterdienst api class
Dissolve wetterdienst notebook into examples
Use
duckdb.sqland ask only for WHERE clauseUpdate restapi annotations
Use
Settingsin restapi/cli core functionsRestapi/Cli: Use pydantic models for request parameters
Rename
dropnatodrop_nullsChange default of
drop_nullsto TrueReplace occurrences of
dt.timezone.utcbyZoneInfo("UTC")Improve release workflow using
uv buildanduv publishImprove docker-publish workflow to use
uv build
0.98.0 - 2024-12-09#
Added#
Add support for Python 3.13
Changed#
Breaking: Add new metadata model: Requests now use
parametersinstead ofparameterandresolutione.g.parameters=[("daily", "kl")]instead ofparameter="kl", resolution="daily"
Deprecated#
Deprecate Python 3.9
0.97.0 - 2024-10-06#
Fixed#
DWD Road: Use correct 15 minute resolution
0.96.0 - 2024-10-04#
Changed#
Bump polars to
>=1.0.0Change
DWDMosmixValuesandDWDDmoValuesto follow the core_collect_station_parametermethodAllow only single issue retrieving with
DWDMosmixRequestandDWDDmoRequest
0.95.1 - 2024-09-04#
Fixed#
Fix
statecolumn in station list creation for DWD Observation
0.95.0 - 2024-08-27#
Changed#
Make fastexcel non-optional
Remove upper dependency bounds
0.94.0 - 2024-08-10#
Added#
DWD Road: Add new station groups, log warning if no data is available, especially if the station group is one of the temporarily unavailable ones
Fixed#
Explorer: Fix DWD Mosmix request kwargs setup
0.93.0 - 2024-08-06#
Fixed#
Fix multiple Geosphere parameter and unit enums
Explorer: Fix wrap
(parameter, dataset)in iteratorAdjust parameter typing of apis
0.92.0 - 2024-07-31#
Changed#
Rename parameters
units in parameter names are now directly following the number
temperature parameters now use meter instead of cm and also have a unit
e.g. TEMPERATURE_AIR_MEAN_2M, CLOUD_COVER_BETWEEN_2KM_TO_7KM, PROBABILITY_PRECIPITATION_HEIGHT_GT_0_0MM_LAST_6H
Fixed#
Bump pyarrow version to <18
Fix EaHydrology station list parsing
Rename
EaHydrologytoEAHydrologyFix propagation of settings through
EAHydrologyvalues
0.91.0 - 2024-07-14#
Fixed#
Fix DWD Road api
0.90.0 - 2024-07-14#
Changed#
Bump
environsto <12
Fixed#
Explorer: Fix json export
0.89.0 - 2024-07-03#
Fixed#
EaHydrology: Fix date parsing
Hubeau: Use correct frequency unit
Fix group by unpack
0.88.0 - 2024-06-14#
Added#
Allow passing
--listenwhen running the explorer to specify the host and port
0.87.0 - 2024-06-06#
Added#
Add precipitation version
Changed#
Rename warming stripes to climate stripes
Replace custom Settings class with pydantic model
0.86.0 - 2024-06-01#
Changed#
Interpolation/Summary: Require start and end date
Enable interpolation and summarization for all services
Fixed#
Fix multiple issues with interpolation and summarization
0.85.0 - 2024-05-29#
Fixed#
Fix
dropnaargument for DWD Mosmix and DMOAdjust DWD Mosmix and DMO kml reader to parse all parameters
Fix
to_target(duckdb)for stationsFix init of
DwdDmoRequest
0.84.0 - 2024-05-15#
Fixed#
Fix DWD Obs station list parsing again
0.83.0 - 2024-04-26#
Added#
Allow
wideshape with multiple datasets
0.82.0 - 2024-04-25#
Fixed#
Adjust column specs for DWD Observation station listing
Maintain order during deduplication
Change threshold in
filter_by_nameto 0.0…1.0
0.81.0 - 2024-04-09#
Added#
Warming stripes: Add option to enable/disable showing only active stations
0.80.0 - 2024-04-08#
Added#
Migrate explorer to streamlit
UI: Add warming stripes
Changed#
Explorer: Disable higher than daily resolutions for hosted version
0.79.0 - 2024-03-21#
Fixed#
Fix parsing of DWD Observation stations where name contains a comma
0.78.0 - 2024-03-09#
Added#
Docker: Install more extras
Fixed#
Cli/Restapi: Return empty values if no data is available
0.77.1 - 2024-03-08#
Fixed#
Fix setting NOAA GHCN-h date to UTC
0.77.0 - 2024-03-08#
Changed#
Refactor index caching -> Remove monkeypatch for fsspec
0.76.1 - 2024-03-03#
Fixed#
NOAA GHCN Hourly: Fix date parsing
0.76.0 - 2024-03-02#
Added#
Add NOAA GHCN Hourly API (also known as ISD)
0.75.0 - 2024-02-25#
Changed#
Remove join outer workaround for polars and use
outer_coalesceinsteadAllow duckdb for Python 3.12 again
Update REST API index layout
Bump polars to 0.20.10
Docker: Bump to Python 3.12
Docker: Reduce image size
0.74.0 - 2024-02-22#
Added#
Restapi: Add health check endpoint
0.73.0 - 2024-02-09#
Changed#
Set upper version bound for Python to 4.0
Make pandas optional
Fixed#
Add temporary workaround for bugged line in IMGW Hydrology station list
Fix parsing of dates in NOAA GHCN api
0.72.0 - 2024-01-13#
Added#
Allow for passing kwargs to the
to_csvmethod
Fixed#
Fix issue when using
force_ndarray_like=Truewith pint UnitRegistry
0.71.0 - 2024-01-03#
Added#
CI: Add support for Python 3.12
Fixed#
Fix issue with DWD DMO api
0.70.0 - 2023-12-30#
Added#
Docker: Enable interpolation in wetterdienst standard image
Changed#
Replace partial with lambda in most places
IMGW: Use ttl of 5 minutes for caching
Fixed#
IMGW Meteorology: Drop workaround for mixed up station list to fix issue
WSV Hydrology: Fix issue with station list characteristic values
DWD Observation: Remove redundant replace empty string in parser
NWS Observation: Read json data from bytes
EA Hydrology: Read json data from bytes
0.69.0 - 2023-12-18#
Added#
Restapi: Unify station parameter and add alias
Interpolation: Make maximum station distance per parameter configurable via settings
Fixed#
Result: Convert date to string only if dataframe is not empty
Restapi: Move restapi from /restapi to /api
0.68.0 - 2023-12-01#
Added#
Add example for comparing Mosmix forecast and Observation data
Fixed#
Fix parsing of DWD Observation 1 minute precipitation data
0.67.0 - 2023-11-17#
Changed#
Breaking: Use start_date and end_date instead of from_date and to_date
Use artificial station id for interpolation and summarization
Rename taken station ids columns for interpolation and summarization
0.66.1 - 2023-11-08#
Fixed#
Add workaround for issue with DWD Observation station lists
0.66.0 - 2023-11-07#
Added#
Add lead time argument - one of short, long - for DWD DMO to address two versions of icon
Changed#
Rework dict-like export formats and tests with extensive support for typing
Improve radar access
Style restapi landing page
Replace timezonefinder by tzfpy
Fixed#
Fix DWD DMO access again
0.65.0 - 2023-10-24#
Changed#
Cleanup error handling
Make cli work with DwdDmoRequest API
Cleanup cli docs
Fixed#
Fix DWD Observation API for 5 minute data
0.64.0 - 2023-10-12#
Added#
Export: Add support for InfluxDB 3.x
Changed#
Remove direct tzdata dependency
Replace pandas read_fwf calls by polars substitutes
0.63.0 - 2023-10-08#
Added#
[Streamlit] Add sideboard with settings
[Streamlit] Add station information json
[Streamlit] Add units to DataFrame view and plots
[Streamlit] Add JSON download
Fixed#
Return data correctly sorted
0.62.0 - 2023-10-07#
Changed#
Raise minimum version of polars to 0.19.6 due to breaking changes
Fixed#
Fix multiple issues with DwdObservationRequest API
0.61.0 - 2023-10-06#
Added#
Make parameters TEMPERATURE_AIR_MAX_200 and TEMPERATURE_AIR_MIN_200 summarizable/interpolatable
Add streamlit app for DWD climate stations
Add sql query function to streamlit app
Fixed#
Fix imgw meteorology station list parsing
Improve streamlit app plotting capabilities
Fix DWD DMO api
0.60.0 - 2023-09-16#
Added#
Add implementation for DWD DMO
0.59.3 - 2023-09-11#
Fixed#
Fix DWD solar date string correction
0.59.2 - 2023-09-06#
Fixed#
Fix documentation and unit conversion for Geosphere 10minute radiation data
0.59.1 - 2023-07-18#
Fixed#
Fix Geosphere parameter names
0.59.0 - 2023-07-30#
Changed#
Revise type hints for parameter and station_id
Fixed#
Fix Geosphere Observation parsing of dates in values -> thanks to @mhuber89 who discovered the bug and delivered a fix
0.58.1 - 2023-07-26#
Fixed#
Fix bug with Geosphere parameter case
0.58.0 - 2023-07-10#
Added#
Add retry to functions
Add IMGW Hydrology API
Add IMGW Meteorology API
Changed#
Rename FLOW to DISCHARGE and WATER_LEVEL to STAGE everywhere
0.57.1 - 2023-06-28#
Fixed#
Fix pyarrow dependency
0.57.0 - 2023-05-15#
Added#
Sources: Add DWD Road Weather data
Changed#
Breaking: Backend: Migrate from pandas to polars
Switching to Polars may cause breaking changes for certain user-space code heavily using pandas idioms, because Wetterdienst now returns a Polars DataFrame. If you absolutely must use a pandas DataFrame, you can cast the Polars DataFrame to pandas by using the
.to_pandas()method.
0.56.2 - 2023-05-11#
Fixed#
Fix Unit definition for RADIATION_GLOBAL
0.56.1 - 2023-05-10#
Fixed#
Fix JOULE_PER_SQUARE_METER definition from kilojoule/m2 to joule/m2
0.56.0 - 2023-05-02#
Fixed#
Update docker images
Fix now and now_local attributes on core class
0.55.2 - 2023-04-20#
Fixed#
Fix precipitation index interpolation
0.55.1 - 2023-04-17#
Fixed#
Fix setting empty values in DWD observation data
Fix DWD Radar composite path
0.55.0 - 2023-03-19#
Changed#
Drop Python 3.8 support
Fixed#
Explorer: Fix function calls
0.54.1 - 2023-03-13#
Fixed#
Fix DWD Observations 1 minute fileindex
0.54.0 - 2023-03-06#
Changed#
SCALAR: Improve handling skipping of empty stations, especially within .filter_by_rank function
Make all parameter levels equal for all weather services to reduce complexity in code
Change
tidyoption toshape, whereshape="long"equalstidy=Trueandshape="wide"equalstidy=FalseNaming things: All things “Scalar” are now called “Timeseries”, with settings prefix
ts_Drop some unnecessary enums
Rename Environment Agency to ea in subspace
Fixed#
CLI: Fix cli arguments with multiple items separated by comma (,)
Fix fileindex/metaindex for DWD Observation
DOCS: Fix precipitation height unit
DOCS: Fix examples with “recent” period
0.53.0 - 2023-02-07#
Added#
CLI: Add command line options
wetterdienst --versionandwetterdienst -vto display version number
Changed#
SCALAR: Change tidy option to be set to True if multiple different entire datasets are queried (in accordance with exporting results to json where multiple DataFrames are concatenated)
Further cleanups
Change Settings to be provided via initialization instead of having a singleton
0.52.0 - 2023-01-19#
Added#
Add Geosphere Observation implementation for Austrian meteorological data
Changed#
RADAR: Clean up code and merge access module into api
Fixed#
DWD MOSMIX: Fix parsing station list
DWD MOSMIX: Fix converting degrees minutes to decimal degrees within the stations list. The previous method did not produce correct results on negative lat/lon values.
0.51.0 - 2023-01-01#
Added#
Update wetterdienst explorer with clickable stations and slightly changed layout
Fixed#
Improve radar tests and certain dict comparisons
Fix problem with numeric column names in method gain_of_value_pairs
0.50.0 - 2022-12-03#
Added#
Interpolation/Summary: Now the queried point can be an existing station laying on the border of the polygon that it’s being checked against
UI: Add interpolate/summarize methods as subspaces
Changed#
Geo: Change function signatures to use latlon tuple instead of latitude and longitude
Geo: Enable querying station id instead of latlon within interpolate and summarize
Geo: Allow using values of nearby stations instead of interpolated values
Fixed#
Fix timezone related problems when creating full date range
0.49.0 - 2022-11-28#
Added#
Add NOAA NWS Observation API
Add Eaufrance Hubeau API for French river data (flow, stage)
Fixed#
Fix bug where duplicates of acquired data would be dropped regarding only the date but not the parameter
Fix NOAA GHCN access issues with timezones and empty data
0.48.0 - 2022-11-11#
Added#
Add example to dump DWD climate summary observations in zarr with help of xarray
Fixed#
Fix DWD Observation urban_pressure dataset access (again)
0.47.1 - 2022-10-23#
Fixed#
Fix DWD Observation urban_pressure dataset access
0.47.0 - 2022-10-14#
Added#
Add support for reading DWD Mosmix-L all stations files
0.46.0 - 2022-10-14#
Added#
Add summary of multiple weather stations for a given lat/lon point (currently only works for DWDObservationRequest)
0.45.2 - 2022-10-11#
Fixed#
Make DwdMosmixRequest return data according to start and end date
0.45.1 - 2022-10-10#
Fixed#
Fix passing an empty DataFrame through unit conversion and ensure set of columns
0.45.0 - 2022-09-22#
Added#
Add interpolation of multiple weather stations for a given lat/lon point (currently only works for DWDObservationRequest)
Fixed#
Fix access of DWD Observation climate_urban datasets
0.44.0 - 2022-09-18#
Added#
Add DWD Observation climate_urban datasets
Changed#
Slightly adapt the conversion function to satisfy linter
Adjust Docker images to fix build problems, now use python 3.10 as base
Adjust NOAA sources to AWS as NCEI sources currently are not available
Make explorer work again for all services setting up Period enum classes instead of single instances of Period for period base
Fixed#
Fix parameter names:
we now use consistently INDEX instead of INDICATOR
index and form got mixed up with certain parameters, where actually index was measured/given but not the form
global radiation was mistakenly named radiation_short_wave_direct at certain points, now it is named correctly
0.43.0 - 2022-09-05#
Added#
Add DWD Observation climate_urban datasets
Changed#
Use lxml.iterparse to reduce memory consumption when parsing DWD Mosmix files
Fix Settings object instantiation
Change logging level for Settings.cache_disable to INFO
0.42.1 - 2022-08-25#
Fixed#
Fix DWD Mosmix station locations
0.42.0 - 2022-08-22#
Changed#
Move cache settings to core wetterdienst Settings object
Fixed#
Fix two parameter names
0.41.1 - 2022-08-04#
Fixed#
Fix correct mapping of periods for solar daily data which should also have Period.HISTORICAL besides Period.RECENT
0.41.0 - 2022-07-24#
Fixed#
Fix passing through of empty dataframe when trying to convert units
0.40.0 - 2022-07-10#
Changed#
Update dependencies
0.39.0 - 2022-06-27#
Changed#
Update dependencies
0.38.0 - 2022-06-09#
Added#
Add DWD Observation 5 minute precipitation dataset
Add test to compare actually provided DWD observation datasets with the ones we made available with wetterdienst
Fixed#
Fix one particular dataset which was not correctly included in our DWD observations resolution-dataset-mapping
0.37.0 - 2022-06-06#
Fixed#
Fix EA hydrology access
Update ECCC observation methods to acquire station listing
0.36.0 - 2022-05-31#
Fixed#
Fix using shared FSSPEC_CLIENT_KWARGS everywhere
0.35.0 - 2022-05-29#
Added#
Add option to skip empty stations (option tidy must be set)
Add option to drop empty rows (value is NaN) (option tidy must be set)
0.34.0 - 2022-05-22#
Added#
Add UKs Environment Agency hydrology API
0.33.0 - 2022-05-14#
Fixed#
Fix acquisition of DWD weather phenomena data
Set default encoding when reading data from DWD with pandas to ‘latin1’
Fix typo in
EcccObservationResolution
0.32.4 - 2022-05-14#
Fixed#
Fix acquisition of historical DWD radolan data that comes in archives
0.32.3 - 2022-05-12#
Fixed#
Fix creation of empty DataFrame for missing station ids
Fix creation of empty DataFrame for annual data
0.32.2 - 2022-05-10#
Fixed#
Revert ssl option
0.32.1 - 2022-05-09#
Fixed#
Circumvent DWD server ssl certificate problem by temporary removing ssl verification
0.32.0 - 2022-04-24#
Added#
Add implementation of WSV Pegelonline service
Changed#
Clean up code at several places
Fixed#
Fix ECCC observations access
0.31.1 - 2022-04-03#
Fixed#
Change integer dtypes in untidy format to float to prevent loosing information when converting units
0.31.0 - 2022-03-29#
Changed#
Improve integrity of dataset, parameter and unit enumerations with further tests
Change source of hourly sunshine duration to dataset sun
Change source of hourly total cloud cover (+indicator) to dataset cloudiness
0.30.1 - 2022-03-03#
Fixed#
Fix naming of sun dataset
Fix DWD Observation monthly test
0.30.0 - 2022-02-27#
Fixed#
Fix monthly/annual data of DWD observations
0.29.0 - 2022-02-27#
Added#
Add datasets EXTREME_WIND (subdaily) and MORE_WEATHER_PHENOMENA (daily)
Add support for Python 3.10
Changed#
Simplify parameters using only one enumeration for flattened and detailed parameters
Rename dataset SUNSHINE_DURATION to SUN to avoid complications with similar named parameter and dataset
Rename parameter VISIBILITY to VISIBILITY_RANGE
Removed#
Drop Python 3.7 support
0.28.0 - 2022-02-19#
Added#
Extend explorer to use all implemented APIs
Fixed#
Fix cli/restapi: return json and use NULL instead of NaN
0.27.0 - 2022-02-16#
Added#
Add support for Python 3.10
Fixed#
Fix missing station ids within values result
Add details about time interval for NOAA GHCN stations
Fix falsely calculated station distances
Removed#
Drop support for Python 3.7
0.26.0 - 2022-02-06#
Added#
Add Wetterdienst.Settings to manage general settings like tidy, humanize,…
Instead of “kind” use “network” attribute to differ between different data products of a provider
Changed#
Rename DWD forecast to mosmix
Fixed#
Change data source of NOAA GHCN after problems with timeouts when reaching the server
Fix problem with timezone conversion when having dates that are already timezone aware
0.25.1 - 2022-01-30#
Fixed#
Fix cli error with upgraded click ^8.0 where default False would be converted to “False”
0.25.0 - 2022-01-30#
Fixed#
Fix access to ECCC stations listing using Google Drive storage
Remove/replace caching entirely by fsspec (+monkeypatch)
Fix bug with DWD intervals
0.24.0 - 2022-01-24#
Added#
Add NOAA GHCN API
Fixed#
Fix radar index by filtering out bz2 files
0.23.0 - 2021-11-21#
Fixed#
Add missing positional dataset argument for _create_empty_station_parameter_df
Timestamps of 1 minute / 10 minutes DWD data now have a gap hour at the end of year 1999 due to timezone shifts
0.22.0 - 2021-10-01#
Added#
Introduce core Parameter enum with fixed set of parameter names. Several parameters may have been renamed!
Add FSSPEC_CLIENT_KWARGS variable at wetterdienst.util.cache for passing extra settings to fsspec request client
0.21.0 - 2021-09-10#
Changed#
Start migrating from
dogpile.cachetofilesystem_spec
0.20.4 - 2021-08-07#
Added#
Enable selecting a parameter precisely from a dataset by passing a tuple like [(“precipitation_height”, “kl”)] or [(“precipitation_height”, “precipitation_more”)], or for cli/restapi use “precipitation_height/kl”
Rename
wetterdienst showtowetterdienst info, make version accessible via CLI withwetterdienst version
Fixed#
Bug when querying an entire DWD dataset for 10_minutes/1_minute resolution without providing start_date/end_date, which results in the interval of the request being None
Test of restapi with recent period
Get rid of pandas performance warning from DWD Mosmix data
0.20.3 - 2021-07-15#
Fixed#
Bugfix acquisition of DWD radar data
Adjust DWD radar composite parameters to new index
0.20.2 - 2021-06-26#
Fixed#
Bugfix tidy method for DWD observation data
0.20.1 - 2021-06-26#
Changed#
Update readme on sandbox developer installation
Fixed#
Bugfix show method
0.20.0 - 2021-06-23#
Added#
Change cli base to click
Add support for wetterdienst core API in cli and restapi
Export: Use InfluxDBClient instead of DataFrameClient and improve connection handling with InfluxDB 1.x
Export: Add support for InfluxDB 2.x
Add show() method with basic information on the wetterdienst instance
Fixed#
Fix InfluxDB export by skipping empty fields
0.19.0 - 2021-05-14#
Changed#
Make tidy method a abstract core method of Values class
Fixed#
Fix DWD Mosmix generator to return all contained dataframes
0.18.0 - 2021-05-04#
Added#
Add origin and si unit mappings to services
Use argument “si_units” in request classes to convert origin units to si, set to default
Improve caching behaviour by introducing optional
WD_CACHE_DIRandWD_CACHE_DISABLEenvironment variables. Thanks, @meteoDaniel!Add baseline test for ECCC observations
Add DWD Observation hourly moisture to catalogue
0.17.0 - 2021-04-08#
Added#
Add capability to export data to Zarr format
Add Wetterdienst Explorer UI. Thanks, @meteoDaniel!
Add MAC ARM64 support with dependency restrictions
Add support for stations filtering via bbox and name
Add support for units in distance filtering
Changed#
Rename station_name to name
Rename filter methods to .filter_by_station_id and .filter_by_name, use same convention for bbox, filter_by_rank ( previously nearby_number), filter_by_distance (nearby_distance)
Fixed#
Radar: Verify HDF5 responses instead of returning invalid data
Mosmix: Use cached stations to improve performance
0.16.1 - 2021-03-31#
Changed#
Make .discover return lowercase parameters and datasets
0.16.0 - 2021-03-29#
Added#
Add capability to export to Feather- and Parquet-files to I/O subsystem
Add
--reloadparameter towetterdienst restapifor supporting developmentAdd Environment and Climate Change Canada API
Changed#
Use direct mapping to get a parameter set for a parameter
Rename DwdObservationParameterSet to DwdObservationDataset as well as corresponding columns
Merge metadata access into Request
Repair CLI and I/O subsystem
Improve spreadsheet export
Increase I/O subsystem test coverage
Make all DWD observation field names lowercase
Make all DWD forecast (mosmix) field names lowercase
Rename humanize_parameters to humanize and tidy_data to tidy
Deprecated#
Deprecate support for Python 3.6
Fixed#
Radar: Use OPERA as data source for improved list of radar sites
0.15.0 - 2021-03-07#
Added#
Add StationsResult and ValuesResult to allow for new workflow and connect stations and values request
Add accessor .values to Stations class to get straight to values for a request
Add top-level API
Fixed#
Fix issue with Mosmix station location
0.14.1 - 2021-02-21#
Fixed#
Fix date filtering of DWD observations, where accidentally an empty dataframe was returned
0.14.0 - 2021-02-05#
Added#
DWD: Add missing radar site “Emden” (EMD, wmo=10204)
Changed#
Change key STATION_HEIGHT to HEIGHT, LAT to LATITUDE, LON to LONGITUDE
Rename “Data” classes to “Values”
Make arguments singular
Fixed#
Mosmix stations: fix longitudes/latitudes to be decimal degrees (before they were degrees and minutes)
0.13.0 - 2021-01-21#
Added#
Create general Resolution and Period enumerations that can be used anywhere
Create a full dataframe even if no values exist at requested time
Add further attributes to the class structure
Make dates timezone aware
Restrict dates to isoformat
0.12.1 - 2020-12-29#
Fixed#
Fix 10minutes file index interval range by adding timezone information
0.12.0 - 2020-12-23#
Changed#
Move more functionality into core classes
Add more attributes to the core e.g. source and timezone
Make dates of internal data timezone aware, set start date and end date to UTC
Add issue date to Mosmix class that actually refers to the Mosmix run instead of start date and end date
Use Result object for every data related return
In accordance with typical naming conventions, DWDObservationSites is renamed to DWDObservationStations, the same is applied to DWDMosmixSites
The name ELEMENT is removed and replaced by parameter while the actual parameter set e.g. CLIMATE_SUMMARY is now found under PARAMETER_SET
Removed#
Remove StorageAdapter and its dependencies
Methods self.collect_data() and self.collect_safe() are replaced by self.query() and self.all() and will deprecate at some point
0.11.1 - 2020-12-10#
Fixed#
Bump
h5pyto version 3.1.0 in order to satisfy installation on Python 3.9
0.11.0 - 2020-12-04#
Added#
Upgrade Docker images to Python 3.8.6
Radar data: Add non-RADOLAN data acquisition
Changed#
Change wherever possible column type to category
Increase efficiency by downloading only historical files with overlapping dates if start_date and end_date are given
Use periods dynamically depending on start and end date
Fixed#
InfluxDB export: Fix export in non-tidy format (#230). Thanks, @wetterfrosch!
InfluxDB export: Use “quality” column as tag (#234). Thanks, @wetterfrosch!
InfluxDB export: Use a batch size of 50000 to handle larger amounts of data (#235). Thanks, @wetterfrosch!
Update radar examples to use
wradlib>=1.9.0. Thanks, @kmuehlbauer!Fix inconsistency within 1 minute precipitation data where historical files have more columns
Improve DWD PDF parser to extract quality information and select language. Also, add an example at
example/dwd_describe_fields.pyas well as respective documentation.Move intermediate storage of HDF out of data collection
Fix bug with date filtering for empty/no station data for a given parameter
0.10.1 - 2020-11-14#
Fixed#
Upgrade to dateparser-1.0.0. Thanks, @steffen746, @noviluni and @Gallaecio! This fixes a problem with timezones on Windows. The reason is that Windows has no zoneinfo database and
tzlocalswitched frompytztotzinfo. https://github.com/earthobservations/wetterdienst/issues/222
0.10.0 - 2020-10-26#
Added#
CLI: Obtain “–tidy” argument from command line
Extend MOSMIX support to equal the API of observations
DWDObservationData now also takes an individual parameter independent of the pre-configured DWD datasets by using DWDObservationParameter or similar names e.g. “precipitation_height”
Newly introduced coexistence of DWDObservationParameter and DWDObservationParameterSet to address parameter sets as well as individual parameters
Changed#
DWDObservationSites now filters for those stations which have a file on the server
Imports are changed to submodule thus now one has to import everything from wetterdienst.dwd
Renaming of time_resolution to resolution, period_type to period, several other relabels
0.9.0 - 2020-10-09#
Added#
Rename
DWDStationRequesttoDWDObservationDataAdd
DWDObservationSitesAPI wrapper to acquire station informationMove
discover_climate_observationstoDWDObservationMetadata.discover_parametersAdd PDF-based
DWDObservationMetadata.describe_fields()
Changed#
Large refactoring
Make period type in DWDObservationData and cli optional
Activate SQL querying again by using DuckDB 0.2.2.dev254. Thanks, @Mytherin!
Fixed#
Fix coercion of integers with nans
Fix problem with storing IntegerArrays in HDF
0.8.0 - 2020-09-25#
Added#
Add TTL-based persistent caching using dogpile.cache
Add
example/radolan.pyand adjust documentationExport dataframe to different data sinks like SQLite, DuckDB, InfluxDB and CrateDB
Query results with SQL, based on in-memory DuckDB
Split get_nearby_stations into two functions, get_nearby_stations_by_number and get_nearby_stations_by_distance
Add MOSMIX client and parser. Thanks, @jlewis91!
Add basic HTTP API
0.7.0 - 2020-09-16#
Added#
Add test for Jupyter notebook
Add function to discover available climate observations (time resolution, parameter, period type)
Make the CLI work again and add software tests to prevent future havocs
Use Sphinx Material theme for documentation
Fixed#
Fix typo in enumeration for TimeResolution.MINUTES_10
0.6.0 - 2020-09-07#
Changed#
Enhance usage of get_nearby_stations to check for availability
Output of get_nearby_stations is now a slice of meta_data DataFrame output
0.5.0 - 2020-08-27#
Added#
Add RADOLAN support
Change module and function naming in accordance with RADOLAN
0.4.0 - 2020-08-03#
Added#
Extend DWDObservationData to take multiple parameters as request
Add documentation at readthedocs.io
[cli] Adjust methods to work with multiple parameters
0.3.0 - 2020-07-26#
Added#
Add option for data collection to tidy the DataFrame (properly reshape) with the “tidy_data” keyword and set it to be used as default
Changed#
Establish code style black
Setup nox session that can be used to run black via nox -s black for one of the supported Python versions
Fixed#
Fix integer type casting for cases with nans in the column/series
Fix humanizing of column names for tidy data
0.2.0 - 2020-07-23#
Added#
[cli] Add geospatial filtering by distance.
[cli] Filter stations by station identifiers.
[cli] Add GeoJSON output format for station data.
Improvements to parsing high resolution data by setting specific datetime formats and changing to concurrent.futures
Changed#
Change column name mapping to more explicit one with columns being individually addressable
Add full column names for every individual parameter
More specific type casting for integer fields and string fields
Fixed#
Fix na value detection for cases where cells have leading and trailing whitespace
0.1.1 - 2020-07-05#
Added#
[cli] Add geospatial filtering by number of nearby stations.
Simplify release pipeline
Small updates to readme
Changed#
Parameter, time resolution and period type can now also be passed as strings of the enumerations e.g. “ climate_summary” or “CLIMATE_SUMMARY” for Parameter.CLIMATE_SUMMARY
Enable selecting nearby stations by distance rather than by number of stations
Fixed#
Change updating “parallel” argument to be done after parameter parsing to prevent mistakenly not found parameter
Remove find_all_match_strings function and extract functionality to individual operations
0.1.0 - 2020-07-02#
Added#
Initial release
Update README.md
Update example notebook
Add Gh Action for release
Rename library