Skip to contents

Connecting

Authenticate against the M2M API. The session is the entry point for everything else.

m2m_session()
Connect to the USGS/EROS M2M API
M2MSession
M2M API session

The pipeline

Each stage returns an object whose methods are the valid next steps, from a dataset through to files on disk.

M2MDataset
A dataset in the M2M catalog
M2MSceneSearch
Results of a scene search
M2MSceneList
A scene list registered on the M2M server
M2MDownloadOptions
Products available for download
M2MDownloadQueue
A download order in the M2M queue

Search filters

Constructors for the filters accepted by M2MDataset$search(). The metadata filters take field ids reported by M2MDataset$filters().

filter_spatial()
Create a spatial filter for use in a scene search
filter_temporal()
Create a temporal filter for use in a scene search
filter_cloud()
Create a cloud cover filter for use in a scene search
filter_metadata_value()
Create a metadata filter matching a single value
filter_metadata_between()
Create a metadata filter matching a range of values
filter_metadata_and() filter_metadata_or()
Combine metadata filters with a logical operator

Package

usgsm2m usgsm2m-package
usgsm2m: R Interface to the USGS/EROS Machine-to-Machine (M2M) Application Programming Interface (API)
`%>%`
Pipe operator