Julia connector to the Meteomatics Weather API
In a Julia REPL hit the ]
key to enter Package Manager mode. Then type add https://github.com/meteomatics/julia-connector-api
. To leave Package Manager mode again, hit backspace
.
Alternatively, in a Julia script or REPL, type using Pkg
to import the Package Manager module. Then execute Pkg.add(url="https://github.com/meteomatics/julia-connector-api")
.
Import the module by executing using MeteomaticsAPI
. The querygrid
, querytimeseries
, queryinitdatetime
and querytimeranges
functions should all now be available to you. To read the docstrings for any of these, enter help mode by typing ?
, then enter the name of the function you want help on. If you want to see the possible implementations of a function (including the arguments and their expected data types) execute methods(<function>)
.
tests.jl should be converted into an examples notebook.
for the time being, copy and paste queries from tests.jl to test.
feel free to vary parameters to see what works. let me know if you break anything.
NOTE: some queries will not work with the default user credentials, but you can update these or provide your own as optional arguments.