Skip to content

Commit

Permalink
adding MODIS SOAP web service R client
Browse files Browse the repository at this point in the history
  • Loading branch information
Virdi committed Dec 12, 2017
1 parent 28b1591 commit 5ead1ca
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
##############################
# OS and IDE generated files #
##############################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
.project
sftp-config.json
Binary file added MODIS-SOAP-Web-Service/MODISTools2.tar.gz
Binary file not shown.
10 changes: 10 additions & 0 deletions MODIS-SOAP-Web-Service/Rclient.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Load the library
library(MODISTools)
# Get a list of avilable MODIS products
GetProducts()
# Get a list of Bands for the specified products
GetBands("MYD15A2H")
# Get a list of Dates available for the specified product and location
GetDates(40.1,-110.2,"MYD15A2H")
# Get subset data for the specified product, band, location, date range, and size
GetSubset(40,-110,"MYD15A2H", "Lai_500m","A2007065","A2007065", 1,1)

0 comments on commit 5ead1ca

Please sign in to comment.