Skip to content

Excluding sections no longer works #108

Description

@jgrahamc

This was not the case previously. If I do:

curl "https://api.pirateweather.net/forecast/API_KEY/51,1?units=si&tz=precise&exclude=currently,minutely,hourly,daily,alerts"

I get the following response:

{ "currently" : { "apparentTemperature" : 66.22, "cloudCover" : 1, "dewPoint" : 53.87, "humidity" : 0.74, "icon" : "cloudy", "nearestStormBearing" : 0, "nearestStormDistance" : 0, "ozone" : 279.45, "precipIntensity" : 0.0003, "precipIntensityError" : 0, "precipProbability" : 0, "precipType" : "rain", "pressure" : 1008.91, "summary" : "Cloudy", "temperature" : 62.01, "time" : 1695928920, "uvIndex" : 0, "visibility" : 10, "windBearing" : 189, "windGust" : 23.71, "windSpeed" : 13.11 }, "elevation" : 115, "flags" : { "nearest-station" : 0, "sourceTimes" : { "gefs" : "2023-09-28 06:00:00", "gfs" : "2023-09-28 12:00:00" }, "sources" : [ "ETOPO1", "gfs", "gefs" ], "units" : "us", "version" : "V1.5.5" }, "latitude" : 51, "longitude" : 1, "offset" : 1, "timezone" : "Etc/GMT" }

Previously, I did not get the currently section and this is now causing my code to blow up because I have limited memory allocation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions