e-sensing / rwtss Goto Github PK
View Code? Open in Web Editor NEWR Client API for Web Time Series Service
R Client API for Web Time Series Service
0.9.1
. Related with #12Whenever a time series request falls outside the bounding box of the coverage, the error message points to the wrong causes: A JSON error due to missing parameters.
Code to reproduce this issue
`
library(wtss)
ts.server <- WTSS("http://www.myserver.org/tws/wtss")
#---- SUCESS: time series retrieved ----
ats <- timeSeries(object = ts.server,
coverages = "mod13q1_512",
attributes = c("ndvi"),
latitude = -10.408,
longitude = -53.495,
start = "2000-02-18",
end = "2017-02-18")
str(ats)
#---- FAILURE: Time series falls outside the coverage's bounding box
#---- However, the error points to the wrong cause:
#---- Error in .parseJSON(.sendRequest(request)) :
#---- Invalid timeseries range: missing some values.
ats <-timeSeries(object = ts.server,
coverages = "mod13q1_512",
attributes = c("ndvi"),
latitude = 10.408,
longitude = 53.495,
start = "2000-02-18",
end = "2017-02-18")
`
Read from environmental variable BDC_ACCESS_TOKEN the acces_token to be sent with url request.
In line 48 is marked as donttest
, it needs to be changed to dontrun
.
The examples in the demo were not working because the e-sensing wtss service is unavailable.
Instead of passing one point at a time, it is interesting to provide a vector of points to simplify the query. For example:
ts <- Rwtss::time_series("my-wtss",
attributes = c("B04", "B08"),
latitude = c(-15.6, -15.7, -15.8),
longitude = c(-48.8, -48.9, -48.92),
name = "my-collection",
start_date = "2017-09-01",
end_date = "2018-07-27",
token = "")
Currently, DPI's drone is unavailable, so it will be migrated to the drone service's own cloud.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.