ajijohn / ebm

UI for Microclimatic data for ecological forecasting
microclim.org
Apache License 2.0
2 stars 0 forks source link

'mr' not found error #10

Closed levyofi closed 7 years ago

levyofi commented 7 years ago

I get the error: Error in mr$mreq_list() : object 'mr' not found When running this code: `library(devtools) library(xml2)

devtools::install_github("trenchproject/microclimRapi")

library(microclimRapi)

ma <- microclimRapi:::MicroclimAPI$new(token = api_token,url_mc='http://microclim.org/')

api_token = getToken('0b3c0d3074529ff19c0ca86fb3ef105e','0d6be059f13c60b6a80e0b82e5f97090','http://microclim.org/') print(api_token)

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)`