Add newest development version of gnome-shell (3.17.92) to metadata.json .

merge-requests/218/head
Jens Lody 9 years ago
parent 6f2113f650
commit 4085de619c
  1. 666
      The Dark Sky Forecast API Docs.html
  2. 347
      config/compile
  3. 1185
      data/#weather-settings_2.ui#
  4. 2
      data/metadata.json.in
  5. 1100
      data/weather-settings_2.ui
  6. 80
      gnome-shell-extension-openweather.bmarks
  7. 53
      gnome-shell-extension-openweather.cscope_file_list
  8. 101
      gnome-shell-extension-openweather.layout
  9. 104
      search.txt
  10. 1426
      src/extension_test.js
  11. 1979
      src/fetch_data_base.js
  12. 937
      temp.txt
  13. 11
      updateChangeLog.sh
  14. BIN
      zip-file/openweather.shell-extension.zip

@ -0,0 +1,666 @@
The Dark Sky Forecast API </>
v2 Forecast API
The Forecast API lets you query for most locations on the globe, and
returns:
* Current conditions
* Minute-by-minute forecasts out to 1 hour (where available)
* Hour-by-hour forecasts out to 48 hours
* Day-by-day forecasts out to 7 days
There are two main API calls. The first <#forecast_call> returns the
current forecast (for the next week):
|https://api.forecast.io/forecast/APIKEY/LATITUDE,LONGITUDE|
The second <#time_call> lets one query for a specific time, past or
future (for many places, 60 years in the past to 10 years in the future):
|https://api.forecast.io/forecast/APIKEY/LATITUDE,LONGITUDE,TIME|
*Note to Dark Sky API users*: The old docs can be found here </docs>.
Details on migrating to the new API can be found at the bottom of the
page <#migration>.
Changelog
* *3 Dec 2014:* Added Russian to the list of supported languages.
* *23 Sep 2014:* Added Portuguese and Bosnian to the list of supported
languages.
* *14 Aug 2014:* Added Polish and Pig Latin (!?) to the list of
supported languages.
* *29 Jul 2014:* Added Italian to the list of supported languages.
* *11 Jun 2014:* Added Spanish to the list of supported languages.
* *29 May 2014:* Added the |lang| option <#options>.
* *7 Jan 2014:* Added the |moonPhase| property to data points.
* *10 Dec 2013:* Added the MADIS <#data-sources> data source.
* *5 Dec 2013:* Added the |nearestStormDistance| and
|nearestStormBearing| properties to data points.
* *15 Aug 2013:* Added the |apparentTemperature| properties to data
points.
* *17 Jul 2013:* Added the |description| property to severe weather
alerts <#alerts>.
* *15 Jul 2013:* Added the RTMA and SREF weather models
<#data-sources>, and the |X-Forecast-API-Calls| response header
<#response-headers>.
* *22 May 2013:* Added the |extend| option.
* *6 May 2013:* Added string date format to time machine requests.
* *17 Apr 2013:* Added |dewPoint| and |ozone| properties to data points.
* *9 Apr 2013:* Added the |ca| and |auto| unit options, and added
|precipIntensityMax| and |precipIntensityMaxTime| properties on
daily data points.
* *1 Apr 2013:* Added the |exclude| option.
* *29 Mar 2013:* Deprecated the |si| option, replacing it with the
|units| option. When upgrading, be advised that |windSpeed| is now
in meters per second, rather than in kilometers per hour. (*Edit 9
Apr 2013:* one can now use |?units=ca| to precisely emulate the
functionality of |?si|. Please update any code using the deprecated
functionality at your earliest convenience.)
* *26 Mar 2013:* Initial version.
API Libraries
Looking to include Forecast in your app? These wrapper libraries should
make it quick and easy to do so:
* Official Ruby Wrapper Library
<https://github.com/darkskyapp/forecast-ruby> by David Czarnecki
<https://github.com/czarneckid>
* Android Client Wrapper Library
<https://github.com/pequots34/Forecast> by Christopher Brown
<https://github.com/pequots34>
* C++ Wrapper Library
<https://github.com/errantlinguist/Forecast.io-CPP> by Todd Shore
<https://github.com/errantlinguist>
* C# Wrapper Library <https://github.com/f0xy/forecast.io-csharp> by
Charl Cilliers <https://github.com/f0xy>
* Portable C# Wrapper Library
<https://github.com/jcheng31/ForecastPCL> by Jerome Cheng
<https://github.com/jcheng31>
* CFML Wrapper Library <https://github.com/DannyCork/ForecastCFML> by
Danny Cork <https://github.com/DannyCork>
* Clojure Wrapper Library
<https://github.com/jdhollis/forecast-clojure> by J. D. Hollis
<https://github.com/jdhollis>
* Erlang Wrapper Library <https://github.com/derek121/forecast> by
Derek Brown <https://github.com/derek121>
* Go Wrapper Library <https://github.com/mlbright/forecast> by
Martin-Louis Bright <https://github.com/mlbright>
* Java Wrapper Library <https://github.com/dvdme/forecastio-lib-java>
by David Ervideira <https://github.com/dvdme>
* Java Wrapper Library <https://github.com/kushanj1/ForecastIOLibrary>
by Kushan Jayatilleke <https://github.com/kushanj1>
* JavaScript Wrapper Library
<https://github.com/iantearle/forecast.io-javascript-api> (with a
PHP-based proxy) by Ian Tearle <https://github.com/iantearle>
* Node.JS Wrapper Library
<https://github.com/mateodelnorte/forecast.io> by Matt Walters
<https://github.com/mateodelnorte>
* Node.JS Wrapper Library <https://github.com/jonezy/reckon/> by Chris
Jones <https://github.com/jonezy>
* Node.JS Wrapper Library
<https://github.com/soplakanets/node-forecastio> by Serhiy
Oplakanets <https://github.com/soplakanets>
* Objective-C Wrapper Library
<https://github.com/iwasrobbed/Forecastr> by Rob Phillips
<https://github.com/iwasrobbed>
* Objective-C Wrapper Library <https://github.com/carlj/libFIOApi> by
Carl Jahn <https://github.com/carlj>
* iOS XCode Project Template
<https://github.com/brandonemrich/ForecastKit> by Brandon Emrich
<https://github.com/brandonemrich>
* Perl Wrapper Library
<http://search.cpan.org/~martyloo/Forecast-IO-0.21/lib/Forecast/IO.pm>
by Martin-Louis Bright <https://github.com/mlbright>
* PHP Wrapper Library
<https://github.com/tobias-redmann/forecast.io-php-api> by Tobias
Redmann <https://github.com/tobias-redmann>
* PHP Wrapper Library <https://github.com/guhelski/forecast-php> by
Guilherm Uhelski <https://github.com/guhelski>
* PHP Wrapper Library <https://github.com/CNG/ForecastTools>
(supporting multiple, simultaneous calls) by Charlie Gorichanaz
<https://github.com/CNG>
* Python Wrapper Library <https://github.com/ZeevG/python-forcast.io>
by Ze'ev Gilovitz <https://github.com/ZeevG>
* R Wrapper Library <https://github.com/hrbrmstr/Rforecastio> by Bob
Rudis <https://github.com/hrbrmstr>
* Unofficial Ruby Wrapper Library
<https://github.com/vigosan/forecast_io> by Vicent Gozalbes
<https://github.com/vigosan>
* Scala Wrapper Library <https://github.com/film42/forecast-io-scala>
by Garrett Thornburg <https://github.com/film42>
Additionally, Gerard Davison <https://github.com/kingsfleet> has
provided a JSON Schema <https://github.com/kingsfleet/rest-metadata> of
the API, and Alex Handy has provided a CodeEnvy IDE
<https://codenvy.com/factory?id=7jdszo9m4un5m2ql> for a Java API wrapper
of our API.
Finally, please note that all of the above API wrappers (except for the
official Ruby wrapper) are unofficial: we cannot provide support for
them! If you have any questions about them, please contact the library's
author.
The Forecast Call
|https://api.forecast.io/forecast/APIKEY/LATITUDE,LONGITUDE|
|APIKEY| should be your Dark Sky API key. |LATITUDE| and |LONGITUDE|
should be the geographic coordinates of a location in decimal degrees.
/(Please note that the base domain for this API request is
|api.forecast.io|, not |api.darkskyapp.com|.)/
The response will be a JSON-formatted object with the following
properties defined:
* |latitude|: The requested latitude.
* |longitude|: The requested longitude.
* |timezone|: The IANA timezone name for the requested location (e.g.
|America/New_York|). This is the timezone used for text forecast
summaries and for determining the exact start time of daily data
points. /(Developers are advised to rely on local system settings
rather than this value if at all possible: users may deliberately
set an unusual timezone, and furthermore are likely to know what
they actually want better than our timezone database does.)/
* |offset|: The current timezone offset in hours from GMT.
* |currently|: A /data point/ (see below) containing the current
weather conditions at the requested location.
* |minutely|: A /data block/ (see below) containing the weather
conditions minute-by-minute for the next hour. /(This property’s
name should be read as an adjective—analogously to “hourly” or
“daily” and meaning “reckoned by the minute”—rather than as an
adverb meaning “meticulously.” Yes, we know that this is not proper
English. No, we will not change it. Complaints to this effect will
be deleted with utmost prejudice.)/
* |hourly|: A /data block/ (see below) containing the weather
conditions hour-by-hour for the next two days.
* |daily|: A /data block/ (see below) containing the weather
conditions day-by-day for the next week.
* |alerts|: An array of /alert objects/ (see below), which, if
present, contains any severe weather alerts, issued by a
governmental weather authority, pertinent to the requested location.
* |flags|: An object containing miscellaneous metadata concerning this
request. (See /flags object/, below.)
In general, to determine the weather at a given point in time, one
should examine the highest-precision data block defined (|minutely|,
|hourly|, and |daily| respectively), taking any data available from from
it and falling back to the next-highest precision data block for any
properties that are missing for the point in time desired.
Data Points
A /data point/ object represents the various weather phenomena occurring
at a specific instant of time, and has many varied properties. All of
these properties (except |time|) are /optional/, and will only be set if
we have that type of information for that location and time. Please note
that |minutely| data points are always aligned to the nearest minute
boundary, |hourly| points to the top of the hour, and |daily| points to
midnight of that day.
Data points in the |daily| /data block/ (see below) are special: instead
of representing the weather phenomena at a given instant of time, they
are an aggregate point representing the weather phenomena that will
occur over the entire day. For precipitation fields, this aggregate is a
maximum; for other fields, it is an average.
Data point objects may contain the following properties:
* |time|: The UNIX time (that is, seconds since midnight GMT on 1 Jan
1970) at which this data point occurs.
* |summary|: A human-readable text summary of this data point.
* |icon|: A machine-readable text summary of this data point, suitable
for selecting an icon for display. If defined, this property will
have one of the following values: |clear-day|, |clear-night|,
|rain|, |snow|, |sleet|, |wind|, |fog|, |cloudy|,
|partly-cloudy-day|, or |partly-cloudy-night|. (Developers should
ensure that a sensible default is defined, as additional values,
such as |hail|, |thunderstorm|, or |tornado|, may be defined in the
future.)
* |sunriseTime| and |sunsetTime| (only defined on |daily| data
points): The UNIX time (that is, seconds since midnight GMT on 1 Jan
1970) of the last sunrise before and first sunset after the solar
noon closest to local noon on the given day. (Note: near the poles,
these may occur on a different day entirely!)
* |moonPhase| (only defined on |daily| data points): A number
representing the fractional part of the lunation number
<https://en.wikipedia.org/wiki/Lunation_Number> of the given day.
This can be thought of as the “percentage complete” of the current
lunar month: a value of |0| represents a new moon, a value of |0.25|
represents a first quarter moon, a value of |0.5| represents a full
moon, and a value of |0.75| represents a last quarter moon. (The
ranges in between these represent waxing crescent, waxing gibbous,
waning gibbous, and waning crescent moons, respectively.)
* |nearestStormDistance| (only defined on |currently| data points): A
numerical value representing the distance to the nearest storm in
miles. (This value is /very approximate/ and should not be used in
scenarios requiring accurate results. In particular, a storm
distance of zero doesn’t necessarily refer to a storm at the
requested location, but rather a storm in the vicinity of that
location.)
* |nearestStormBearing| (only defined on |currently| data points): A
numerical value representing the direction of the nearest storm in
degrees, with true north at 0° and progressing clockwise. (If
|nearestStormDistance| is zero, then this value will not be defined.
The caveats that apply to |nearestStormDistance| also apply to this
value.)
* |precipIntensity|: A numerical value representing the average
expected intensity (in inches of liquid water per hour) of
precipitation occurring at the given time /conditional on
probability/ (that is, assuming any precipitation occurs at all). A
/very/ rough guide is that a value of |0| in./hr. corresponds to no
precipitation, |0.002| in./hr. corresponds to very light
precipitation, |0.017| in./hr. corresponds to light precipitation,
|0.1| in./hr. corresponds to moderate precipitation, and |0.4|
in./hr. corresponds to heavy precipitation.
* |precipIntensityMax|, and |precipIntensityMaxTime| (only defined on
|daily| data points): numerical values representing the maximumum
expected intensity of precipitation (and the UNIX time at which it
occurs) on the given day in inches of liquid water per hour.
* |precipProbability|: A numerical value between 0 and 1 (inclusive)
representing the probability of precipitation occuring at the given
time.
* |precipType|: A string representing the type of precipitation
occurring at the given time. If defined, this property will have one
of the following values: |rain|, |snow|, |sleet| (which applies to
each of freezing rain, ice pellets, and “wintery mix”), or |hail|.
(If |precipIntensity| is zero, then this property will not be defined.)
* |precipAccumulation| (only defined on |hourly| and |daily| data
points): the amount of snowfall accumulation expected to occur on
the given day. (If no accumulation is expected, this property will
not be defined.)
* |temperature| (not defined on |daily| data points): A numerical
value representing the temperature at the given time in degrees
Fahrenheit.
* |temperatureMin|, |temperatureMinTime|, |temperatureMax|, and
|temperatureMaxTime| (only defined on |daily| data points):
numerical values representing the minimum and maximumum temperatures
(and the UNIX times at which they occur) on the given day in degrees
Fahrenheit.
* |apparentTemperature| (not defined on |daily| data points): A
numerical value representing the apparent (or “feels like”)
temperature at the given time in degrees Fahrenheit.
* |apparentTemperatureMin|, |apparentTemperatureMinTime|,
|apparentTemperatureMax|, and |apparentTemperatureMaxTime| (only
defined on |daily| data points): numerical values representing the
minimum and maximumum apparent temperatures (and the UNIX times at
which they occur) on the given day in degrees Fahrenheit.
* |dewPoint|: A numerical value representing the dew point at the
given time in degrees Fahrenheit.
* |windSpeed|: A numerical value representing the wind speed in miles
per hour.
* |windBearing|: A numerical value representing the direction that the
wind is coming /from/ in degrees, with true north at 0° and
progressing clockwise. (If |windSpeed| is zero, then this value will
not be defined.)
* |cloudCover|: A numerical value between 0 and 1 (inclusive)
representing the percentage of sky occluded by clouds. A value of
|0| corresponds to clear sky, |0.4| to scattered clouds, |0.75| to
broken cloud cover, and |1| to completely overcast skies.
* |humidity|: A numerical value between 0 and 1 (inclusive)
representing the relative humidity.
* |pressure|: A numerical value representing the sea-level air
pressure in millibars.
* |visibility|: A numerical value representing the average visibility
in miles, capped at 10 miles.
* |ozone|: A numerical value representing the columnar density of
total atmospheric ozone at the given time in Dobson units.
All of the above numeric, non-time fields may, optionally, have an
associated |Error| value defined (with the property
|precipIntensityError|, |windSpeedError|, |pressureError|, etc.),
representing our system’s confidence in its prediction. Such properties
represent standard deviations of the value of their associated property;
small error values therefore represent a strong confidence, while large
error values represent a weak confidence. These properties are omitted
where the confidence is not precisely known (though generally considered
to be adequate).
Data Blocks
A /data block/ object represents the various weather phenomena occurring
over a period of time. Such objects contain the following properties:
* |summary|: A human-readable text summary of this data block.
* |icon|: A machine-readable text summary of this data block (see
/data point/, above, for an enumeration of possible values that this
property may take on).
* |data|: An array of /data point/ objects (see above), ordered by
time, which together describe the weather conditions at the
requested location over time.
Ideally, the |minutely| data block will contain data for the next hour,
the |hourly| data block for the next two days, and the |daily| data
block for the next week; however, if we are lacking data for a given
time period, the data point sequence may contain gaps or terminate
early. Furthermore, if no data points for a time period are known, then
the data block will be omitted from the response in its entirety.
Developers are strongly encouraged, therefore, to check for the presence
of data before attempting to read it.
Alert Objects
An /alert object/ represents a severe weather warning issued for the
requested location by a governmental authority (for a list of which
authorities we currently support, please see /data sources/, below).
Such objects contain the following properties:
* |title|: A short text summary of the alert.
* |expires|: The UNIX time (that is, seconds since midnight GMT on 1
Jan 1970) at which the alert will cease to be valid.
* |description|: A detailed text description of the alert from the
appropriate weather service.
* |uri|: An HTTP(S) URI that contains detailed information about the
alert.
Flags Objects
The /flags object/ contains various metadata information related to the
request. Such objects may optionally contain any of the following
properties:
* |darksky-unavailable|: The presence of this property indicates that
the Dark Sky data source supports the given location, but a
temporary error (such as a radar station being down for maintenace)
has made the data unavailable.
* |darksky-stations|: This property contains an array of IDs for each
radar station utilized in servicing this request.
* |datapoint-stations|: This property contains an array of IDs for
each DataPoint station utilized in servicing this request.
* |isd-stations|: This property contains an array of IDs for each ISD
station utilized in servicing this request.
* |lamp-stations|: This property contains an array of IDs for each
LAMP station utilized in servicing this request.
* |metar-stations|: This property contains an array of IDs for each
METAR station utilized in servicing this request.
* |metno-license|: The presence of this property indicates that data
from api.met.no <http://api.met.no/> was utilized in order to
facilitate this request (as per their license agreement).
* |sources|: This property contains an array of IDs for each data
source utilized in servicing this request. (For more information,
see /data sources/, below.)
* |units|: The presence of this property indicates which units were
used for the data in this request. (For more information, see
/options/, below.)
Forecast at a Given Time
It is also possible to request a forecast for an arbitrary point in time:
|https://api.forecast.io/forecast/APIKEY/LATITUDE,LONGITUDE,TIME|
|TIME| should either be a UNIX time (that is, seconds since midnight GMT
on 1 Jan 1970) or a string formatted as follows:
|[YYYY]-[MM]-[DD]T[HH]:[MM]:[SS]| (with an optional time zone formatted
as |Z| for GMT time or |{+,-}[HH][MM]| for an offset in hours or
minutes). For the latter format, if no timezone is present, local time
(at the provided latitude and longitude) is assumed. (This string format
is a subset of ISO 8601
<https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations>
time. An as example, |2013-05-06T12:00:00-0400|.)
If a time is provided in this way, only the conditions for the day on
which that time occurred (or will occur), midnight-to-midnight, are
provided; in all other ways, making such a request is equivalent to
getting in a time machine, going back or forward in time to the given
moment, and making a normal forecast request. (In fact, this is how it
is implemented behind-the-scenes.) Generally speaking, forecasted data
is more accurate the nearer you query to the present moment. (That is,
the present moment if you don’t have a time machine.)
Options
The API request may optionally be modified through the use of query
parameters. It will respond to the following:
* |callback=[callback]|: Return the API response as JSONP
<https://en.wikipedia.org/wiki/JSONP>. /Please use caution when
using this,/ since exposing your API key to the public is a security
hazard and, if abused, will result in the revokation of your API
key. However, if developing a personal- or internal-use app, this is
a convenient method of doing so.
* |units=[setting]|: Return the API response in units other than the
default Imperial units. In particular, the following settings are
possible:
o |us|: The default, as outlined above.
o |si|: Returns results in SI units. In particular, properties now
have the following units:
+ |summary|: Any summaries containing temperature or snow
accumulation units will have their values in degrees Celsius
or in centimeters (respectively).
+ |nearestStormDistance|: Kilometers.
+ |precipIntensity|: Millimeters per hour.
+ |precipIntensityMax|: Millimeters per hour.
+ |precipAccumulation|: Centimeters.
+ |temperature|: Degrees Celsius.
+ |temperatureMin|: Degrees Celsius.
+ |temperatureMax|: Degrees Celsius.
+ |apparentTemperature|: Degrees Celsius.
+ |dewPoint|: Degrees Celsius.
+ |windSpeed|: Meters per second.
+ |pressure|: Hectopascals (which are, conveniently,
equivalent to the default millibars).
+ |visibility|: Kilometers.
o |ca|: Identical to |si|, except that |windSpeed| is in
kilometers per hour.
o |uk|: Identical to |si|, except that |windSpeed| is in miles per
hour, as in the US. (This option is provided because adoption of
SI in the UK has been inconsistent.)
o |auto|: Selects the relevant units automatically, based on
geographic location.
* |exclude=[blocks]|: Exclude some number of data blocks from the API
response. This is useful for reducing latency and saving cache
space. |[blocks]| should be a comma-delimeted list (without spaces)
of any of the following: |currently|, |minutely|, |hourly|, |daily|,
|alerts|, |flags|. (Crafting a request with /all/ of the above
blocks excluded is exceedingly silly and not recommended.)
* |extend=hourly|: When present on a forecast request, return hourly
data for the next seven days, rather than the next two. (This option
is ignored on time machine requests. When using this option, we
strongly recommend ensuring that your HTTP client supports compression.)
* |lang=[language]|: Return text summaries in the desired language.
(Please be advised that units in the summary will be set according
to the |units| option, above, so be sure to set both options as
needed.) |[language]| may be |bs| (Bosnian), |de| (German), |en|
(English, which is the default), |es| (Spanish), |fr| (French), |it|
(Italian), |nl| (Dutch), |pl| (Polish), |pt| (Portuguese), |ru|
(Russian), |tet| (Tetum), or |x-pig-latin| (Igpay Atinlay). (If a
different language is desired, please consider contributing to our
API translation module
<https://github.com/darkskyapp/forecast-io-translations> on Github.)
Response Headers
The API will set the following HTTP response headers to values useful to
developers:
* |Cache-Control| and |Expires|: These headers are set to conservative
values for data caching purposes based on the data present in the
response body.
* |X-Forecast-API-Calls|: The number of API calls made by the given
API key for today.
* |X-Response-Time|: The server-side response time of the request.
Notes
* Just about every object property in the response is optional. In
fact, a request with no data to return will return a nearly empty
object, rather than a failure. Robust code will check for the
presence of required parameters before using them, and will fail
gracefully if they are not present (or return an error if a minimum
functional set of data is not available).
* All numeric properties are real numbers, except for UNIX timestamps,
which are (signed) integers.
* Summaries on the |hourly| data block actually only cover up to a
maximum of 24 hours, rather than the full time period in the data
block. We found that covering the full 48 hours could be, in a
number of circumstances, far too wordy to be practical.
* Summaries and icons on |daily| data points actually cover the period
from 4AM to 4AM, rather than the stated time period of midnight to
midnight. We found that the summaries so generated were less awkward.
* The Forecast Data API supports HTTP compression. We heartily
recommend using it, as it will make responses much smaller over the
wire. To enable it, simply add an |Accept-Encoding: gzip| header to
your request. (Most HTTP client libraries wrap this functionality
for you, please consult your library’s documentation for details. Be
advised that we do not support such compression over HTTP/1.0
connections.)
* JSON responses are in UTF-8 format (due to text summaries, which can
contain Unicode characters). Please ensure that your JSON parser
acts accordingly.
Data Sources
This API is backed by a wide range of data sources, which are aggregated
together statistically to provide the most accurate forecast possible
for a given location. Any data sources used to service a given request
will be noted in the |flags| section of a forecast response. These
sources include:
1. Dark Sky’s own hyperlocal precipitation forecasting system
<http://journal.darkskyapp.com/2011/how-dark-sky-works/> (id
|darksky|), backed by radar data from the following systems:
* The USA NOAA’s NEXRAD system (USA).
* The UK Met Office’s NIMROD system (UK, Ireland).
* (More coming soon.)
2. The USA NOAA’s LAMP system
<http://www.nws.noaa.gov/mdl/lamp/index.shtml> (USA, id |lamp|).
3. The UK Met Office’s Datapoint API
<http://www.metoffice.gov.uk/datapoint> (UK, id |datapoint|).
4. The Norwegian Meteorological Institute’s meteorological forecast API
<http://api.met.no/> (global, id |metno|).
5. The USA NOAA’s Global Forecast System
<http://en.wikipedia.org/wiki/Global_Forecast_System> (global, id
|gfs|).
6. The USA NOAA’s Integrated Surface Database
<http://www.ncdc.noaa.gov/isd> (global, id |isd|).
7. The USA NOAA’s Public Alert system <http://alerts.weather.gov/>
(USA, id |nwspa|).
8. The UK Met Office’s Severe Weather Warning system
<http://www.metoffice.gov.uk/public/weather/warnings/> (UK, id
|metwarn|).
9. Environment Canada’s Canadian Meteorological Center ensemble model
<http://nomads.ncep.noaa.gov/txt_descriptions/CMCENS_doc.shtml>
(global, id |cmc|).
10. The US Navy’s Fleet Numerical Meteorology and Oceanography Ensemble
Forecast System
<http://nomads.ncep.noaa.gov/txt_descriptions/FENS_doc.shtml>
(global, id |fnmoc|).
11. The USA NOAA and Environment Canada’s North American Ensemble
Forecast System
<http://nomads.ncep.noaa.gov/txt_descriptions/NAEFS_bias_corrected_doc.shtml>
(global, id |naefs|).
12. The USA NOAA’s North American Mesoscale Model
<http://en.wikipedia.org/wiki/North_American_Mesoscale_Model> (North
America, id |nam|).
13. The USA NOAA’s Rapid Refresh Model <http://rapidrefresh.noaa.gov/>
(North America, id |rap|).
14. The Norwegian Meteorological Institute’s GRIB file forecast for
Central Europe
<http://api.met.no/weatherapi/gribfiles/1.0/documentation> (Europe,
id |metno_ce|).
15. The Norwegian Meteorological Institute’s GRIB file forecast for
Northern Europe
<http://api.met.no/weatherapi/gribfiles/1.0/documentation> (Europe,
id |metno_ne|).
16. Worldwide METAR weather reports <http://en.wikipedia.org/wiki/METAR>
(global, id |metar|).
17. The USA NOAA/NCEP’s Short-Range Ensemble Forecast
<http://www.emc.ncep.noaa.gov/mmb/SREF/SREF.html> (North America, id
|sref|).
18. The USA NOAA/NCEP’s Real-Time Mesoscale Analysis
<http://rapidrefresh.noaa.gov/> model (North America, id |rtma|).
19. The USA NOAA/ESRL’s Meteorological Assimilation Data Ingest System
<http://madis.noaa.gov/> (global, id |madis|).
v1-to-v2 Migration Guide
The v2 Forecast API is designed to be as close to a pure superset of the
v1 Forecast API <https://developer.darkskyapp.com/docs/forecast> as
possible, allowing for a straightforward upgrade path if you’re
currently using the v1 API and wish to upgrade. Below is a mapping of
all v1 response properties and how they map to v2 properties.
v1 Property v2 Property Notes
|timezone| |timezone| and |offset| In v1, |timezone| was a string
containing the IANA timezone name, the timezone abbrevation, and the
timezone offset in hours. In v2, |timezone| contains the IANA timezone
name, while |offset| contains the timezone offset in hours. The timezone
abbreviation has no analogue in v2.
|currentSummary| |currently.summary|
|currentIntensity| |currently.precipIntensity| In v1,
|currentIntensity| was in dBZ. In v2, |precipIntensity| is in inches of
liquid water per hour. An equation for converting between the two is
available from the Wikipedia page for dBZ
<https://en.wikipedia.org/wiki/DBZ_(meteorology)>.
|currentTemp| |currently.temperature|
|hourSummary| |minutely.summary|
|hourPrecipitation| |minutely.data| In v2, |minutely| may be omitted
entirely given a lack of data.
|hourPrecipitation[x].time| |minutely.data[x].time|
|hourPrecipitation[x].probability| |minutely.data[x].precipProbability|
|hourPrecipitation[x].intensity| |minutely.data[x].precipIntensity| In
v1, |intensity| was in dBZ. In v2, |precipIntensity| is in inches of
liquid water per hour. An equation for converting between the two is
available from the Wikipedia page for dBZ
<https://en.wikipedia.org/wiki/DBZ_(meteorology)>.
|hourPrecipitation[x].error| |minutely.data[x].precipIntensityError|
Note the change in |precipIntensity| units outlined above. Additionally,
in v2, this value is a one-sigma value rather than a three-sigma value,
and if |precipIntensity| is zero, then this property will be omitted
entirely.
|hourPrecipitation[x].type| |minutely.data[x].precipType| In v2, there
is an additional type of precipitation: |hail|. Additionally, in v2, if
|precipIntensity| is zero, then this property will be omitted.
|daySummary| |hourly.summary|
|dayPrecipitation| |hourly.data| In v2, |hourly| may be omitted
entirely given a lack of data.
|dayPrecipitation[x].time| |hourly.data[x].time|
|dayPrecipitation[x].probability| |hourly.data[x].precipProbability|
In v2, |precipProbability| will be omitted if |precipIntensity| is zero.
It is also very uncommonly provided by our data sources; developers are
encouraged to use rely on |precipIntensity| whenever possible.
|dayPrecipitation[x].type| |hourly.data[x].precipType| In v2, there is
an additional type of precipitation: |hail|. Additionally, in v2, if
|precipIntensity| is zero, then this property will be omitted.
|dayPrecipitation[x].temp| |hourly.data[x].temperature|
|dayPrecipitation[x].cloudCover| |hourly.data[x].cloudCover|
|dayPrecipitation[x].relHumidity| |hourly.data[x].humidity|
|radarStation| |flags["darksky-stations"]| In v2, this property will
be omitted if we do not have radar coverage of the given location.
Additionally, v2 makes use of multiple radar sources, so this property
contains an array of station IDs, rather than a single ID. Finally, in
v1, radar stations were lower case and would have their first letter
omitted if they began with a "K". In v2, radar station IDs are always
four letters long and upper case.
|isPrecipitating| /not present/ In v2, simply check if
|currently.precipIntensity| is nonzero.
|minutesUntilChange| /not present/ In v2, iterate over |minutely.data|
and |hourly.data| in order, finding the first data point for which
|currently.precipIntensity !== 0| does not equal
|datapoint.precipIntensity !== 0|. Once that data point is found,
|minutesUntilChange| may be calculated as follows: |(datapoint.time -
currently.time) / 60|.
|checkTimeout| /not present/ Use either the |Cache-Control| or
|Expires| HTTP response headers.
© 2013 The Dark Sky Company, LLC
Email Us <mailto:developer@forecast.io> Terms of Use </terms_of_use.txt>
Privacy Policy </privacy_policy.txt>

@ -0,0 +1,347 @@
#! /bin/sh
# Wrapper for compilers which do not understand '-c -o'.
scriptversion=2012-10-14.11; # UTC
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
nl='
'
# We need space, tab and new line, in precisely that order. Quoting is
# there to prevent tools from complaining about whitespace usage.
IFS=" "" $nl"
file_conv=
# func_file_conv build_file lazy
# Convert a $build file to $host form and store it in $file
# Currently only supports Windows hosts. If the determined conversion
# type is listed in (the comma separated) LAZY, no conversion will
# take place.
func_file_conv ()
{
file=$1
case $file in
/ | /[!/]*) # absolute file, and not a UNC file
if test -z "$file_conv"; then
# lazily determine how to convert abs files
case `uname -s` in
MINGW*)
file_conv=mingw
;;
CYGWIN*)
file_conv=cygwin
;;
*)
file_conv=wine
;;
esac
fi
case $file_conv/,$2, in
*,$file_conv,*)
;;
mingw/*)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
cygwin/*)
file=`cygpath -m "$file" || echo "$file"`
;;
wine/*)
file=`winepath -w "$file" || echo "$file"`
;;
esac
;;
esac
}
# func_cl_dashL linkdir
# Make cl look for libraries in LINKDIR
func_cl_dashL ()
{
func_file_conv "$1"
if test -z "$lib_path"; then
lib_path=$file
else
lib_path="$lib_path;$file"
fi
linker_opts="$linker_opts -LIBPATH:$file"
}
# func_cl_dashl library
# Do a library search-path lookup for cl
func_cl_dashl ()
{
lib=$1
found=no
save_IFS=$IFS
IFS=';'
for dir in $lib_path $LIB
do
IFS=$save_IFS
if $shared && test -f "$dir/$lib.dll.lib"; then
found=yes
lib=$dir/$lib.dll.lib
break
fi
if test -f "$dir/$lib.lib"; then
found=yes
lib=$dir/$lib.lib
break
fi
if test -f "$dir/lib$lib.a"; then
found=yes
lib=$dir/lib$lib.a
break
fi
done
IFS=$save_IFS
if test "$found" != yes; then
lib=$lib.lib
fi
}
# func_cl_wrapper cl arg...
# Adjust compile command to suit cl
func_cl_wrapper ()
{
# Assume a capable shell
lib_path=
shared=:
linker_opts=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as 'compile cc -o foo foo.c'.
eat=1
case $2 in
*.o | *.[oO][bB][jJ])
func_file_conv "$2"
set x "$@" -Fo"$file"
shift
;;
*)
func_file_conv "$2"
set x "$@" -Fe"$file"
shift
;;
esac
;;
-I)
eat=1
func_file_conv "$2" mingw
set x "$@" -I"$file"
shift
;;
-I*)
func_file_conv "${1#-I}" mingw
set x "$@" -I"$file"
shift
;;
-l)
eat=1
func_cl_dashl "$2"
set x "$@" "$lib"
shift
;;
-l*)
func_cl_dashl "${1#-l}"
set x "$@" "$lib"
shift
;;
-L)
eat=1
func_cl_dashL "$2"
;;
-L*)
func_cl_dashL "${1#-L}"
;;
-static)
shared=false
;;
-Wl,*)
arg=${1#-Wl,}
save_ifs="$IFS"; IFS=','
for flag in $arg; do
IFS="$save_ifs"
linker_opts="$linker_opts $flag"
done
IFS="$save_ifs"
;;
-Xlinker)
eat=1
linker_opts="$linker_opts $2"
;;
-*)
set x "$@" "$1"
shift
;;
*.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
func_file_conv "$1"
set x "$@" -Tp"$file"
shift
;;
*.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
func_file_conv "$1" mingw
set x "$@" "$file"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -n "$linker_opts"; then
linker_opts="-link$linker_opts"
fi
exec "$@" $linker_opts
exit 1
}
eat=
case $1 in
'')
echo "$0: No command. Try '$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: compile [--help] [--version] PROGRAM [ARGS]
Wrapper for compilers which do not understand '-c -o'.
Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
arguments, and rename the output as expected.
If you are trying to build a whole package this is not the
right script to run: please start by reading the file 'INSTALL'.
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "compile $scriptversion"
exit $?
;;
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
func_cl_wrapper "$@" # Doesn't return...
;;
esac
ofile=
cfile=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as 'compile cc -o foo foo.c'.
# So we strip '-o arg' only if arg is an object.
eat=1
case $2 in
*.o | *.obj)
ofile=$2
;;
*)
set x "$@" -o "$2"
shift
;;
esac
;;
*.c)
cfile=$1
set x "$@" "$1"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no '-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# '.c' file was seen then we are probably linking. That is also
# ok.
exec "$@"
fi
# Name of file we expect compiler to create.
cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
# Create the lock directory.
# Note: use '[/\\:.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
while true; do
if mkdir "$lockdir" >/dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir '$lockdir'; exit 1" 1 2 15
# Run the compile.
"$@"
ret=$?
if test -f "$cofile"; then
test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
elif test -f "${cofile}bj"; then
test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
fi
rmdir "$lockdir"
exit $ret
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:

File diff suppressed because it is too large Load Diff

@ -2,7 +2,7 @@
"uuid": "@uuid@",
"name": "OpenWeather",
"description": "Weather extension to display weather information from https://openweathermap.org/ or https://forecast.io for almost all locations in the world.\nTo use the weather-data of forecast.io, you have to register on their site (https://developer.forecast.io/register) and get a personal API-key.\n\nSince version 29 this extensions uses coordinates to store the locations and makes the names editable to support multiple weather-providers!\nIf you update from versions prior to 29 to 29 or greater (with forecast.io - support) you have to recreate your locations.",
"shell-version": [ "3.12", "3.14", "3.16", "3.17.4", "3.17.90", "3.17.91" ],
"shell-version": [ "3.12", "3.14", "3.16", "3.17.4", "3.17.90", "3.17.91", "3.17.92" ],
"localedir": "@LOCALEDIR@",
"url": "@url@",
"version": "@version@"

File diff suppressed because it is too large Load Diff

@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<BrowseTracker_layout_file>
<ActiveTarget name="extension" />
<File name="src/extension.js" open="0" top="0" tabpos="1">
<Cursor position="41840" topLine="1203" />
<BrowseMarks positions="" />
<Book_Marks positions="" />
</File>
<File name="src/openweathermap_org.js" open="0" top="0" tabpos="3">
<Cursor position="223" topLine="456" />
<BrowseMarks positions="" />
<Book_Marks positions="" />
</File>
<File name="po/LINGUAS" open="0" top="0" tabpos="1">
<Cursor position="0" topLine="0" />
</File>
<File name="configure.ac" open="0" top="0" tabpos="3">
<Cursor position="787" topLine="0" />
</File>
<File name="data/weather-settings.ui" open="0" top="0" tabpos="0">
<Cursor position="27481" topLine="563" />
<BrowseMarks positions="" />
<Book_Marks positions="" />
</File>
<File name="update_revision.sh" open="1" top="1" tabpos="11">
<Cursor position="0" topLine="0" />
<BrowseMarks positions="" />
<Book_Marks positions="" />
</File>
<File name="src/convenience.js" open="0" top="0" tabpos="9">
<Cursor position="2838" topLine="0" />
<BrowseMarks positions="1972" />
</File>
<File name="data/metadata.json.in" open="0" top="0" tabpos="2">
<Cursor position="690" topLine="0" />
<BrowseMarks positions="618" />
<Book_Marks positions="" />
</File>
<File name="src/prefs.js" open="1" top="0" tabpos="5">
<Cursor position="17255" topLine="166" />
<BrowseMarks positions="" />
<Book_Marks positions="" />
</File>
<File name="autogen.sh" open="0" top="0" tabpos="4">
<Cursor position="197" topLine="0" />
</File>
<File name="data/org.gnome.shell.extensions.openweather.gschema.xml.in" open="0" top="0" tabpos="6">
<Cursor position="5663" topLine="105" />
<BrowseMarks positions="" />
<Book_Marks positions="" />
</File>
<File name="src/forecast_io.js" open="0" top="0" tabpos="4">
<Cursor position="6597" topLine="172" />
<BrowseMarks positions="" />
<Book_Marks positions="" />
</File>
<File name="aclocal.m4" open="0" top="0" tabpos="7">
<Cursor position="4238" topLine="60" />
</File>
<File name="po/update.js" open="0" top="0" tabpos="3">
<Cursor position="253" topLine="0" />
</File>
<File name="COPYING" open="0" top="0" tabpos="10">
<Cursor position="81" topLine="0" />
</File>
<File name="Makefile.am" open="0" top="0" tabpos="2">
<Cursor position="61" topLine="0" />
</File>
<File name="data/Makefile.am" open="0" top="0" tabpos="2">
<Cursor position="674" topLine="0" />
</File>
<File name="src/Makefile.am" open="0" top="0" tabpos="7">
<Cursor position="55" topLine="0" />
</File>
<File name="gnome-shell-extension-openweather.spec" open="1" top="0" tabpos="4">
<Cursor position="255" topLine="0" />
<BrowseMarks positions="" />
<Book_Marks positions="" />
</File>
</BrowseTracker_layout_file>

@ -0,0 +1,53 @@
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/cs.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/zh_CN.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/ca.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/src/prefs.js"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/ChangeLog"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/sk.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/el.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/zh_TW.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/vi.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/aclocal.m4"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/COPYING"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/uk.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/data/Screenshot.jpg"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/configure.ac"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/AUTHORS"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/lt.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/it.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/src/convenience.js"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/data/openweather-search.ui"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/nl.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/data/org.gnome.shell.extensions.openweather.gschema.xml.in"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/fr.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/de.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/pl.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/NEWS"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/data/Makefile.am"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/Makefile.am"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/update.js"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/src/Makefile.am"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/da.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/pt.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/POTFILES.in"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/gnome-shell-extension-openweather.spec"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/sv.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/data/weather-settings.gif"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/LINGUAS"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/nb.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/gnome-shell-extension-weather.pot"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/bg.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/ru.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/README.md"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/ja.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/autogen.sh"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/fi.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/pt_BR.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/data/weather-settings.ui"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/data/metadata.json.in"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/he.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/data/stylesheet.css"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/hu.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/es.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/po/ro.po"
"/home/jens/sources/w/weather/gnome-shell-extension-openweather/src/extension.js"

@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_layout_file>
<FileVersion major="1" minor="0" />
<ActiveTarget name="extension" />
<File name="src/extension.js" open="0" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="41840" topLine="1203" />
</Cursor>
</File>
<File name="src/openweathermap_org.js" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="223" topLine="456" />
</Cursor>
</File>
<File name="po/LINGUAS" open="0" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="0" />
</Cursor>
</File>
<File name="configure.ac" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="787" topLine="0" />
</Cursor>
</File>
<File name="data/weather-settings.ui" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="27481" topLine="563" />
</Cursor>
</File>
<File name="update_revision.sh" open="1" top="1" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2061" topLine="50" />
</Cursor>
</File>
<File name="src/convenience.js" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2838" topLine="0" />
</Cursor>
</File>
<File name="data/metadata.json.in" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="690" topLine="0" />
</Cursor>
</File>
<File name="src/prefs.js" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="32168" topLine="932" />
</Cursor>
</File>
<File name="autogen.sh" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="197" topLine="0" />
</Cursor>
</File>
<File name="data/org.gnome.shell.extensions.openweather.gschema.xml.in" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="5663" topLine="105" />
</Cursor>
</File>
<File name="src/forecast_io.js" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="6597" topLine="172" />
</Cursor>
</File>
<File name="aclocal.m4" open="0" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="4238" topLine="60" />
</Cursor>
</File>
<File name="po/update.js" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="253" topLine="0" />
</Cursor>
</File>
<File name="COPYING" open="0" top="0" tabpos="10" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="81" topLine="0" />
</Cursor>
</File>
<File name="Makefile.am" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="61" topLine="0" />
</Cursor>
</File>
<File name="data/Makefile.am" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="674" topLine="0" />
</Cursor>
</File>
<File name="src/Makefile.am" open="0" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="55" topLine="0" />
</Cursor>
</File>
<File name="gnome-shell-extension-openweather.spec" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="284" topLine="0" />
</Cursor>
</File>
<EditorTabsLayout layout="0796058055fafaf900923c6900000003=0;gnome-shell-extension-openweather:src/prefs.js,1;gnome-shell-extension-openweather:gnome-shell-extension-openweather.spec,*2;gnome-shell-extension-openweather:update_revision.sh@layout2|name=dummy;caption=;state=2098174;dir=3;layer=0;row=0;pos=0;prop=100000;bestw=598;besth=325;minw=598;minh=325;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=0796058055fafaf900923c6900000003;caption=;state=2098172;dir=5;layer=1;row=0;pos=0;prop=100000;bestw=598;besth=325;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|dock_size(5,1,0)=600|" />
</CodeBlocks_layout_file>

@ -0,0 +1,104 @@
https://open.mapquestapi.com/nominatim/v1/search.php?format=json&q=Sommerweg+2,+Neu-Eichenberg&addressdetails=1
[
{
"place_id":"57218283",
"licence":"Data \u00a9 OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright",
"osm_type":"way",
"osm_id":"26124984",
"boundingbox":
[
"51.3747137",
"51.3755891",
"9.9164565",
"9.9192863"
],
"lat":"51.3750768",
"lon":"9.9175961",
"display_name":"Sommerweg, Neu-Eichenberg, Werra-Mei\u00dfner-Kreis, Regierungsbezirk Kassel, Hessen, 37249, Deutschland, Europa",
"class":"highway",
"type":"residential",
"importance":0.51,
"address":
{
"road":"Sommerweg",
"village":"Neu-Eichenberg",
"county":"Werra-Mei\u00dfner-Kreis",
"state_district":"Regierungsbezirk Kassel",
"state":"Hessen",
"postcode":"37249",
"country":"Deutschland",
"country_code":"de",
"continent":"Europa"
}
}
]
[
{
"place_id":"151244439",
"licence":"Data \u00a9 OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright",
"osm_type":"relation",
"osm_id":"549411",
"boundingbox":
[
"51.3462395",
"51.4210337",
"9.8500839",
"9.9327238"
],
"lat":"51.3835891",
"lon":"9.8833684",
"display_name":"Neu-Eichenberg, Werra-Mei\u00dfner-Kreis, Regierungsbezirk Kassel, Hessen, Deutschland, Europa",
"class":"boundary",
"type":"administrative",
"importance":0.57579531509901,
"icon":"http:\/\/open.mapquestapi.com\/nominatim\/v1\/images\/mapicons\/poi_boundary_administrative.p.20.png",
"address":
{
"city":"Neu-Eichenberg",
"county":"Werra-Mei\u00dfner-Kreis",
"state_district":"Regierungsbezirk Kassel",
"state":"Hessen",
"country":"Deutschland",
"country_code":"de",
"continent":"Europa"
}
}
]
http://open.mapquestapi.com/nominatim/v1/reverse.php?format=json&lat=51.3750768&lon=+9.9175961
[
{
"place_id":"151244439",
"licence":"Data \u00a9 OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright",
"osm_type":"relation",
"osm_id":"549411",
"boundingbox":
[
"51.3462395",
"51.4210337",
"9.8500839",
"9.9327238"
],
"lat":"51.3835891",
"lon":"9.8833684",
"display_name":"Neu-Eichenberg, Werra-Mei\u00dfner-Kreis, Regierungsbezirk Kassel, Hessen, Deutschland, Europa",
"class":"boundary",
"type":"administrative",
"importance":0.57579531509901,
"icon":"http:\/\/open.mapquestapi.com\/nominatim\/v1\/images\/mapicons\/poi_boundary_administrative.p.20.png",
"address":
{
"city":"Neu-Eichenberg",
"county":"Werra-Mei\u00dfner-Kreis",
"state_district":"Regierungsbezirk Kassel",
"state":"Hessen",
"country":"Deutschland",
"country_code":"de",
"continent":"Europa"
}
}
]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,937 @@
{
"cod":"200",
"message":0.0227,
"city":
{
"id":2807184,
"name":"Witzenhausen",
"coord":
{
"lon":9.86667,
"lat":51.333328
},
"country":"DE",
"population":16055
},
"cnt":10,
"list":
[
{
"dt":1382526000,
"temp":
{
"day":18.21,
"min":15.06,
"max":18.39,
"night":15.06,
"eve":17.24,
"morn":17.89
},
"pressure":990.22,
"humidity":75,
"weather":
[
{
"id":804,
"main":"Clouds",
"description":"overcast clouds",
"icon":"04d"
}
],
"speed":7.59,
"deg":216,
"clouds":88
},
{
"dt":1382612400,
"temp":
{
"day":12.78,
"min":10.18,
"max":13.3,
"night":10.18,
"eve":10.8,
"morn":12.04
},
"pressure":999.55,
"humidity":100,
"weather":
[
{
"id":501,
"main":"Rain",
"description":"moderate rain",
"icon":"10d"
}
],
"speed":2.28,
"deg":328,
"clouds":88,
"rain":6
},
{
"dt":1382698800,
"temp":
{
"day":14.51,
"min":11.29,
"max":14.95,
"night":14.95,
"eve":14.45,
"morn":11.29
},
"pressure":997.12,
"humidity":99,
"weather":
[
{
"id":500,
"main":"Rain",
"description":"light rain",
"icon":"10d"
}
],
"speed":5.02,
"deg":166,
"clouds":92,
"rain":1
},
{
"dt":1382785200,
"temp":
{
"day":18.32,
"min":15.21,
"max":18.32,
"night":15.81,
"eve":17.21,
"morn":15.21
},
"pressure":991.83,
"humidity":89,
"weather":
[
{
"id":500,
"main":"Rain",
"description":"light rain",
"icon":"10d"
}
],
"speed":6.92,
"deg":211,
"clouds":20,
"rain":1
},
{
"dt":1382871600,
"temp":
{
"day":11.91,
"min":10.7,
"max":13.76,
"night":10.7,
"eve":11.4,
"morn":13.28
},
"pressure":991.86,
"humidity":90,
"weather":
[
{
"id":501,
"main":"Rain",
"description":"moderate rain",
"icon":"10d"
}
],
"speed":9.27,
"deg":256,
"clouds":24,
"rain":7
},
{
"dt":1382958000,
"temp":
{
"day":12.72,
"min":9.59,
"max":13.11,
"night":13.11,
"eve":12.94,
"morn":9.59
},
"pressure":983.93,
"humidity":0,
"weather":
[
{
"id":501,
"main":"Rain",
"description":"moderate rain",
"icon":"10d"
}
],
"speed":7.39,
"deg":205,
"clouds":85,
"rain":9.48
},
{
"dt":1383044400,
"temp":
{
"day":12.55,
"min":10.99,
"max":12.55,
"night":10.99,
"eve":11.32,
"morn":11.08
},
"pressure":974.35,
"humidity":0,
"weather":
[
{
"id":501,
"main":"Rain",
"description":"moderate rain",
"icon":"10d"
}
],
"speed":11.04,
"deg":222,
"clouds":78,
"rain":4.04
},
{
"dt":1383130800,
"temp":
{
"day":13.45,
"min":11.12,
"max":13.45,
"night":11.12,
"eve":12.01,
"morn":11.28
},
"pressure":974.2,
"humidity":0,
"weather":
[
{
"id":501,
"main":"Rain",
"description":"moderate rain",
"icon":"10d"
}
],
"speed":7.86,
"deg":214,
"clouds":96,
"rain":3.98
},
{
"dt":1383217200,
"temp":
{
"day":12.61,
"min":10.44,
"max":12.61,
"night":10.44,
"eve":11.22,
"morn":10.67
},
"pressure":983.29,
"humidity":0,
"weather":
[
{
"id":501,
"main":"Rain",
"description":"moderate rain",
"icon":"10d"
}
],
"speed":7.34,
"deg":228,
"clouds":4,
"rain":5.07
},
{
"dt":1383303600,
"temp":
{
"day":10.96,
"min":8.19,
"max":10.96,
"night":8.19,
"eve":9.54,
"morn":9.71
},
"pressure":996.06,
"humidity":0,
"weather":
[
{
"id":501,
"main":"Rain",
"description":"moderate rain",
"icon":"10d"
}
],
"speed":3.4,
"deg":268,
"clouds":98,
"rain":6.79
}
]
}
{
"coord":
{
"lon":9.86667,
"lat":51.333328
},
"sys":
{
"country":"DE",
"sunrise":1382507949,
"sunset":1382544624
},
"weather":
[
{
"id":804,
"main":"Clouds",
"description":"overcast clouds",
"icon":"04d"
}
],
"base":"global stations",
"main":
{
"temp":17.885,
"temp_min":17.885,
"temp_max":17.885,
"pressure":990.17,
"sea_level":1019.55,
"grnd_level":990.17,
"humidity":77
},
"wind":
{
"speed":7.17,
"deg":205.505
},
"clouds":
{
"all":92
},
"dt":1382514022,
"id":2807184,
"name":"Witzenhausen",
"cod":200
}
{
"coord":
{
"lon":1.43296,
"lat":38.908829
},
"sys":
{
"country":"ES",
"sunrise":1382508754,
"sunset":1382547866
},
"weather":
[
{
"id":800,
"main":"Clear",
"description":"sky is clear",
"icon":"02d"
}
],
"base":"global stations",
"main":
{
"temp":23.453,
"temp_min":23.453,
"temp_max":23.453,
"pressure":1028.28,
"sea_level":1028.37,
"grnd_level":1028.28,
"humidity":100
},
"wind":
{
"speed":7.96,
"deg":225.5
},
"clouds":
{
"all":8
},
"dt":1382545727,
"id":2516479,
"name":"Ibiza",
"cod":200
}
English - en, Russian - ru, Italian - it, Spanish - sp, Ukrainian - ua, German - de, Portuguese - pt, Romanian - ro, Polish - pl, Finnish - fi, Dutch - nl, French - fr, Bulgarian - bg, Swedish - se, Chinese Traditional - zh_tw, Chinese Simplified - zh_cn, Turkish - tr , Czech - cz
https://api.forecast.io/forecast/b251335276b56396cc98b7c79b282971/51.3750768,9.9179173?exclude=minutely,hourly&units=si
{
"latitude":51.3750768,
"longitude":9.9179173,
"timezone":"Europe/Berlin",
"offset":1,
"currently":
{
"time":1426481725,
"summary":"Clear",
"icon":"clear-night",
"precipIntensity":0,
"precipProbability":0,
"temperature":1.07,
"apparentTemperature":-3.68,
"dewPoint":-0.08,
"humidity":0.92,
"windSpeed":5.19,
"windBearing":98,
"cloudCover":0.01,
"pressure":1026.57,
"ozone":424.04
},
"daily":
{
"summary":"Drizzle on Friday and Saturday, with temperatures peaking at 16°C on Wednesday.",
"icon":"rain",
"data":
[
{
"time":1426460400,
"summary":"Mostly cloudy starting in the afternoon, continuing until evening.",
"icon":"partly-cloudy-day",
"sunriseTime":1426484069,
"sunsetTime":1426526784,
"moonPhase":0.85,
"precipIntensity":0,
"precipIntensityMax":0,
"precipProbability":0,
"temperatureMin":0.94,
"temperatureMinTime":1426478400,
"temperatureMax":11.72,
"temperatureMaxTime":1426518000,
"apparentTemperatureMin":-3.93,
"apparentTemperatureMinTime":1426478400,
"apparentTemperatureMax":11.72,
"apparentTemperatureMaxTime":1426518000,
"dewPoint":4.12,
"humidity":0.85,
"windSpeed":5.33,
"windBearing":104,
"cloudCover":0.17,
"pressure":1026.07,
"ozone":420.3
},
{
"time":1426546800,
"summary":"Partly cloudy starting in the afternoon.",
"icon":"partly-cloudy-night",
"sunriseTime":1426570332,
"sunsetTime":1426613285,
"moonPhase":0.89,
"precipIntensity":0,
"precipIntensityMax":0,
"precipProbability":0,
"temperatureMin":1.35,
"temperatureMinTime":1426568400,
"temperatureMax":13.86,
"temperatureMaxTime":1426604400,
"apparentTemperatureMin":-1.95,
"apparentTemperatureMinTime":1426568400,
"apparentTemperatureMax":13.86,
"apparentTemperatureMaxTime":1426604400,
"dewPoint":5.29,
"humidity":0.86,
"windSpeed":2.7,
"windBearing":105,
"cloudCover":0.24,
"pressure":1025.65,
"ozone":391.18
},
{
"time":1426633200,
"summary":"Partly cloudy in the morning.",
"icon":"partly-cloudy-night",
"sunriseTime":1426656595,
"sunsetTime":1426699785,
"moonPhase":0.93,
"precipIntensity":0,
"precipIntensityMax":0,
"precipProbability":0,
"temperatureMin":2.74,
"temperatureMinTime":1426654800,
"temperatureMax":15.66,
"temperatureMaxTime":1426687200,
"apparentTemperatureMin":2.74,
"apparentTemperatureMinTime":1426654800,
"apparentTemperatureMax":15.66,
"apparentTemperatureMaxTime":1426687200,
"dewPoint":5.94,
"humidity":0.83,
"windSpeed":0.49,
"windBearing":49,
"cloudCover":0.21,
"pressure":1025.06,
"ozone":387.11
},
{
"time":1426719600,
"summary":"Mostly cloudy throughout the day.",
"icon":"partly-cloudy-day",
"sunriseTime":1426742858,
"sunsetTime":1426786286,
"moonPhase":0.97,
"precipIntensity":0,
"precipIntensityMax":0,
"precipProbability":0,
"temperatureMin":3.92,
"temperatureMinTime":1426744800,
"temperatureMax":9.96,
"temperatureMaxTime":1426770000,
"apparentTemperatureMin":2.91,
"apparentTemperatureMinTime":1426744800,
"apparentTemperatureMax":8.87,
"apparentTemperatureMaxTime":1426770000,
"dewPoint":5.89,
"humidity":0.91,
"windSpeed":1.7,
"windBearing":308,
"cloudCover":0.6,
"pressure":1024.53,
"ozone":401.06
},
{
"time":1426806000,
"summary":"Drizzle until evening, starting again overnight.",
"icon":"rain",
"sunriseTime":1426829121,
"sunsetTime":1426872786,
"moonPhase":0.01,
"precipIntensity":0.1041,
"precipIntensityMax":0.2184,
"precipIntensityMaxTime":1426863600,
"precipProbability":0.68,
"precipType":"rain",
"temperatureMin":3.6,
"temperatureMinTime":1426831200,
"temperatureMax":6.87,
"temperatureMaxTime":1426863600,
"apparentTemperatureMin":1.98,
"apparentTemperatureMinTime":1426831200,
"apparentTemperatureMax":4.71,
"apparentTemperatureMaxTime":1426863600,
"dewPoint":4.37,
"humidity":0.91,
"windSpeed":2.48,
"windBearing":290,
"cloudCover":0.89,
"pressure":1020.38,
"ozone":387.87
},
{
"time":1426892400,
"summary":"Light rain until afternoon.",
"icon":"rain",
"sunriseTime":1426915383,
"sunsetTime":1426959286,
"moonPhase":0.04,
"precipIntensity":0.1321,
"precipIntensityMax":0.2438,
"precipIntensityMaxTime":1426906800,
"precipProbability":0.8,
"precipType":"rain",
"temperatureMin":0.57,
"temperatureMinTime":1426975200,
"temperatureMax":5.71,
"temperatureMaxTime":1426892400,
"apparentTemperatureMin":-2.42,
"apparentTemperatureMinTime":1426975200,
"apparentTemperatureMax":3.27,
"apparentTemperatureMaxTime":1426892400,
"dewPoint":2.03,
"humidity":0.91,
"windSpeed":3.17,
"windBearing":357,
"cloudCover":0.86,
"pressure":1015.43,
"ozone":410.38
},
{
"time":1426978800,
"summary":"Partly cloudy overnight.",
"icon":"partly-cloudy-night",
"sunriseTime":1427001646,
"sunsetTime":1427045786,
"moonPhase":0.08,
"precipIntensity":0.0305,
"precipIntensityMax":0.0356,
"precipIntensityMaxTime":1427025600,
"precipProbability":0.01,
"precipType":"snow",
"precipAccumulation":0.602,
"temperatureMin":-2.46,
"temperatureMinTime":1427000400,
"temperatureMax":4.5,
"temperatureMaxTime":1427036400,
"apparentTemperatureMin":-5.86,
"apparentTemperatureMinTime":1427000400,
"apparentTemperatureMax":1.8,
"apparentTemperatureMaxTime":1427036400,
"dewPoint":-3.39,
"humidity":0.75,
"windSpeed":2.65,
"windBearing":59,
"cloudCover":0.05,
"pressure":1020.27,
"ozone":356.07
},
{
"time":1427065200,
"summary":"Mostly cloudy throughout the day.",
"icon":"partly-cloudy-day",
"sunriseTime":1427087908,
"sunsetTime":1427132286,
"moonPhase":0.12,
"precipIntensity":0.0356,
"precipIntensityMax":0.0914,
"precipIntensityMaxTime":1427133600,
"precipProbability":0.1,
"precipType":"rain",
"temperatureMin":-2.33,
"temperatureMinTime":1427086800,
"temperatureMax":6.96,
"temperatureMaxTime":1427119200,
"apparentTemperatureMin":-4.58,
"apparentTemperatureMinTime":1427090400,
"apparentTemperatureMax":4.99,
"apparentTemperatureMaxTime":1427119200,
"dewPoint":-3.86,
"humidity":0.65,
"windSpeed":1.13,
"windBearing":216,
"cloudCover":0.73,
"pressure":1019.58,
"ozone":334.74
}
]
},
"flags":
{
"sources":
[
"isd",
"madis",
"metno_ce",
"metno_ne",
"fnmoc",
"cmc",
"gfs"
],
"isd-stations":
[
"094490-99999",
"104380-99999",
"104440-99999",
"104480-99999",
"104490-99999"
],
"madis-stations":
[
"D8965",
"E0831",
"E0954",
"E4790",
"EDVK",
"ETHF"
],
"metno-license":"Based on data from the Norwegian Meteorological Institute. (http://api.met.no/)",
"units":"si"
}
}
https://api.forecast.io/forecast/b251335276b56396cc98b7c79b282971/51.3750768,9.9175961?units=si&exclude=currently,minutely,hourly,alerts,flags
{
"latitude":51.3750768,
"longitude":9.9175961,
"timezone":"Europe/Berlin",
"offset":1,
"daily":
{
"summary":"Light rain today through Friday, with temperatures rising to 13°C on Monday.",
"icon":"rain",
"data":
[
{
"time":1426892400,
"summary":"Light rain until afternoon, starting again in the evening.",
"icon":"rain",
"sunriseTime":1426915383,
"sunsetTime":1426959286,
"moonPhase":0.04,
"precipIntensity":0.0914,
"precipIntensityMax":0.2388,
"precipIntensityMaxTime":1426960800,
"precipProbability":0.88,
"precipType":"rain",
"temperatureMin":-0.01,
"temperatureMinTime":1426903200,
"temperatureMax":7.6,
"temperatureMaxTime":1426950000,
"apparentTemperatureMin":-2.87,
"apparentTemperatureMinTime":1426910400,
"apparentTemperatureMax":6.66,
"apparentTemperatureMaxTime":1426950000,
"dewPoint":2.58,
"humidity":0.92,
"windSpeed":1.95,
"windBearing":287,
"cloudCover":0.79,
"pressure":1016.81,
"ozone":418.83
},
{
"time":1426978800,
"summary":"Mostly cloudy until afternoon.",
"icon":"partly-cloudy-day",
"sunriseTime":1427001646,
"sunsetTime":1427045786,
"moonPhase":0.08,
"precipIntensity":0.0203,
"precipIntensityMax":0.0864,
"precipIntensityMaxTime":1426982400,
"precipProbability":0.03,
"precipType":"rain",
"temperatureMin":-0.59,
"temperatureMinTime":1427004000,
"temperatureMax":6.78,
"temperatureMaxTime":1427036400,
"apparentTemperatureMin":-5.62,
"apparentTemperatureMinTime":1427004000,
"apparentTemperatureMax":3.92,
"apparentTemperatureMaxTime":1427036400,
"dewPoint":-0.18,
"humidity":0.82,
"windSpeed":3.97,
"windBearing":77,
"cloudCover":0.5,
"pressure":1025.36,
"ozone":364.7
},
{
"time":1427065200,
"summary":"Partly cloudy until afternoon.",
"icon":"partly-cloudy-day",
"sunriseTime":1427087908,
"sunsetTime":1427132286,
"moonPhase":0.12,
"precipIntensity":0,
"precipIntensityMax":0,
"precipProbability":0,
"temperatureMin":-3.18,
"temperatureMinTime":1427086800,
"temperatureMax":13.21,
"temperatureMaxTime":1427119200,
"apparentTemperatureMin":-5.2,
"apparentTemperatureMinTime":1427079600,
"apparentTemperatureMax":13.21,
"apparentTemperatureMaxTime":1427119200,
"dewPoint":-1.16,
"humidity":0.71,
"windSpeed":1.21,
"windBearing":169,
"cloudCover":0.33,
"pressure":1018.13,
"ozone":319.54
},
{
"time":1427151600,
"summary":"Mostly cloudy starting in the afternoon.",
"icon":"partly-cloudy-night",
"sunriseTime":1427174171,
"sunsetTime":1427218786,
"moonPhase":0.15,
"precipIntensity":0.0203,
"precipIntensityMax":0.0635,
"precipIntensityMaxTime":1427212800,
"precipProbability":0.02,
"precipType":"rain",
"temperatureMin":-1.47,
"temperatureMinTime":1427169600,
"temperatureMax":12.66,
"temperatureMaxTime":1427205600,
"apparentTemperatureMin":-1.47,
"apparentTemperatureMinTime":1427169600,
"apparentTemperatureMax":12.66,
"apparentTemperatureMaxTime":1427205600,
"dewPoint":2.52,
"humidity":0.83,
"windSpeed":1.1,
"windBearing":230,
"cloudCover":0.3,
"pressure":1007.38,
"ozone":368.29
},
{
"time":1427238000,
"summary":"Light rain overnight.",
"icon":"rain",
"sunriseTime":1427260433,
"sunsetTime":1427305285,
"moonPhase":0.19,
"precipIntensity":0.0483,
"precipIntensityMax":0.0864,
"precipIntensityMaxTime":1427274000,
"precipProbability":0.05,
"precipType":"rain",
"temperatureMin":0.86,
"temperatureMinTime":1427252400,
"temperatureMax":8.93,
"temperatureMaxTime":1427295600,
"apparentTemperatureMin":0.86,
"apparentTemperatureMinTime":1427252400,
"apparentTemperatureMax":7.97,
"apparentTemperatureMaxTime":1427295600,
"dewPoint":2.88,
"humidity":0.89,
"windSpeed":0.95,
"windBearing":335,
"cloudCover":0.93,
"pressure":1005.42,
"ozone":384.05
},
{
"time":1427324400,
"summary":"Light rain throughout the day.",
"icon":"rain",
"sunriseTime":1427346696,
"sunsetTime":1427391785,
"moonPhase":0.22,
"precipIntensity":0.3023,
"precipIntensityMax":0.5588,
"precipIntensityMaxTime":1427360400,
"precipProbability":0.8,
"precipType":"rain",
"temperatureMin":1.57,
"temperatureMinTime":1427349600,
"temperatureMax":7.74,
"temperatureMaxTime":1427385600,
"apparentTemperatureMin":-2.31,
"apparentTemperatureMinTime":1427349600,
"apparentTemperatureMax":5.8,
"apparentTemperatureMaxTime":1427385600,
"dewPoint":4.02,
"humidity":0.93,
"windSpeed":3.08,
"windBearing":1,
"cloudCover":0.99,
"pressure":1004.17,
"ozone":383.65
},
{
"time":1427410800,
"summary":"Overcast throughout the day.",
"icon":"cloudy",
"sunriseTime":1427432959,
"sunsetTime":1427478284,
"moonPhase":0.25,
"precipIntensity":0.0686,
"precipIntensityMax":0.1829,
"precipIntensityMaxTime":1427410800,
"precipProbability":0.42,
"precipType":"rain",
"temperatureMin":1.35,
"temperatureMinTime":1427436000,
"temperatureMax":7.37,
"temperatureMaxTime":1427472000,
"apparentTemperatureMin":-1.55,
"apparentTemperatureMinTime":1427436000,
"apparentTemperatureMax":5.62,
"apparentTemperatureMaxTime":1427472000,
"dewPoint":3.51,
"humidity":0.93,
"windSpeed":2.32,
"windBearing":331,
"cloudCover":1,
"pressure":1009.45,
"ozone":351.61
},
{
"time":1427497200,
"summary":"Overcast throughout the day.",
"icon":"cloudy",
"sunriseTime":1427519221,
"sunsetTime":1427564784,
"moonPhase":0.29,
"precipIntensity":0.0432,
"precipIntensityMax":0.0813,
"precipIntensityMaxTime":1427554800,
"precipProbability":0.08,
"precipType":"rain",
"temperatureMin":0.93,
"temperatureMinTime":1427518800,
"temperatureMax":8.17,
"temperatureMaxTime":1427554800,
"apparentTemperatureMin":0.93,
"apparentTemperatureMinTime":1427518800,
"apparentTemperatureMax":6.77,
"apparentTemperatureMaxTime":1427554800,
"dewPoint":3.03,
"humidity":0.9,
"windSpeed":1.51,
"windBearing":311,
"cloudCover":0.96,
"pressure":1011.46,
"ozone":349.29
}
]
}
}
https://api.forecast.io/forecast/b251335276b56396cc98b7c79b282971/51.3750768,9.9175961?units=si&exclude=daily,minutely,hourly,alerts,flags
{
"latitude":51.3750768,
"longitude":9.9175961,
"timezone":"Europe/Berlin",
"offset":1,
"currently":
{
"time":1426944648,
"summary":"Mostly Cloudy",
"icon":"partly-cloudy-day",
"precipIntensity":0.1245,
"precipProbability":0.1,
"precipType":"rain",
"temperature":6.17,
"apparentTemperature":4.28,
"dewPoint":4.68,
"humidity":0.9,
"windSpeed":2.51,
"windBearing":295,
"cloudCover":0.71,
"pressure":1015.34,
"ozone":448.84
}
}

@ -0,0 +1,11 @@
#!/bin/sh
COM_LAST=`head -1 ChangeLog | cut -d " " -f 2`
echo "Downloading git log from commit $COM_LAST (excluded) to HEAD (included)"
git log --decorate=no --date=rfc $COM_LAST...HEAD > ChangeLog.new
cat "ChangeLog" >> "ChangeLog.new"
mv "ChangeLog.new" "ChangeLog"
Loading…
Cancel
Save