Open mrke opened 5 years ago
Hey Mike, Apologies for not been able to answer it promptly.
Few steps are required to get the files programmatically , please see the vignette below https://github.com/trenchproject/microclimRapi/blob/master/vignettes/microclim.ipynb
Let me know I you run into issues again.
I just had a go at using the api. I used some code Ofir used previously (below) as well as using the web interface and got an email indicting success but there was no hyperlink in the message.
ma <- microclimRapi:::MicroclimAPI$new(token = api_token,url_mc='http://microclim.org/') lat = "39.48178546986059" lon = "-106.51519775390625" mrwind <- microclimRapi:::MicroclimRequest$new( latS = lat, latN=lat, lonW=lon, lonE=lon, variable="WIND10", shadelevel=0, hod=1.92, interval=0, aggregation=0, stdate="19810101", eddate="19810131", file="csv")
ext_req= ma$request(mrwind)
email:
Your request was submitted with parameters - start date 19810101, enddate 19810131, bounding box (39.48178546986059,39.48178546986059) (-106.51519775390625,-106.51519775390625), shade level 0, height 1.92, interval 0 and aggregation metric 0. You can access your files using the hyperlinks below
If any questions/issues, please report it on our github issues page - https://github.com/trenchproject/ebm/issues.