Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

update data download related docs

Jason Kent716ee04a2584
diff --git a/README.md b/README.md
index e0202c73f..b5310c82c 100644
--- a/README.md
+++ b/README.md
@@ -81,13 +81,13 @@ To update Worldview, pull down any branch or tag from GitHub. From the `master`
- [Configuration](doc/config/configuration.md)
- [Custom Branding](doc/branding.md)
- [Optional Features](doc/features.md)
-- [Data Download](doc/data_download.md)
-- [URL Parameters](doc/url_parameters.md)
- [Developing](doc/developing.md)
- [Deployment](doc/deployment.md)
- [Testing](doc/testing.md)
+- [URL Parameters](doc/url_parameters.md)
- [Uploading](doc/upload.md)
- [Docker](doc/docker.md)
+- [Smart Handoffs](doc/smart_handoffs.md)
- [Release Notes](doc/release_notes.md)
- [Changelog](CHANGELOG.md)
diff --git a/doc/config/layers.md b/doc/config/layers.md
index 9fae5caff..06d212596 100644
--- a/doc/config/layers.md
+++ b/doc/config/layers.md
@@ -99,7 +99,7 @@ Example:
* **tags**: Additional text used for matching this layer when searching in the add layers tab. This allows Aerosol Optical Depth layers to match when "aod" is typed in
* **noTransition**: For WMTS layers only, if set to `true`, the map will not display lower-resolution tiles while loading.
* **transition**: For WMS layers only, if set to `true`, the map will display lower-resolution tiles while loading.
-* **product**: Identifier of the product to use when searching the Common Metadata Repository (CMR) to download data. Can also be a list of identifiers to map the layer to multiple CMR products. See the [Data Download documentation](../data_download.md) for more information.
+* **product**: Associated product in the Common Metadata Repository (CMR).
* **tileSize**: For WMS layers only, an array of pixel dimensions used to tile the requests. For example, `[512, 512]`
* **daynight**: Classify a layer as day or night. This information will be displayed within the title of the layer in the Measurement / Sources add modal view if provided.
* **track**: Classify a layer's track direction. This will usually be either ascending or descending and will be displayed within the title of the layer in the Measurement / Sources add modal view if provided.
diff --git a/doc/config/product_picker.md b/doc/config/product_picker.md
index 84c2e27c6..21d4c8db7 100644
--- a/doc/config/product_picker.md
+++ b/doc/config/product_picker.md
@@ -26,8 +26,6 @@ Newly added layers require some additional steps and configuration in order to p
* *Worldview Snapshots Team adds layers to Image Download*
* Add Layer descriptions/metadata, if it exists
* Create .md file in `config/default/common/config/metadata`. The *description* (i.e. layer description/metadata) identifier has to be added to the corresponding measurement JSON file.
-* Add Data Download for product, if it exists
- * Refer to [Data Download](../data_download.md) and create JSON file in `config/default/common/config/wv.json/products`. The *product* identifier has to be added to the corresponding layer JSON file.
* Rebuild the configuration with `npm run build` for use by the application.
## Adding New Categories
diff --git a/doc/data_download.md b/doc/data_download.md
deleted file mode 100644
index 477df40a4..000000000
--- a/doc/data_download.md
+++ /dev/null
@@ -1,308 +0,0 @@
-# Data Download
-
-**Note**: This feature uses the Common Metadata Repository (CMR) and does not
-work for data sets stored elsewhere.
-
-Each layer in Worldview can be mapped to a data product in the CMR. In the layer
-configuration, use the *product* attribute and provide the identifier for the
-downloadable product.
-
-Each *product* is defined in the *products* section, keyed by identifier:
-
-```json
-{
- "products": {
- "MYD04_L2": {
- "name": "MODIS/Aqua Aerosol 5-Min L2 Swath 10km",
- "handler": "AquaSwathMultiDay",
- "query": {
- "shortName": "MYD04_L2"
- },
- "nrt": {
- "by": "value",
- "field": "data_center",
- "value": "LANCEMODIS"
- },
- "urs": {
- "by": "value",
- "field": "data_center",
- "value": "LANCEMODIS"
- }
- }
- }
-}
-```
-
-## Handlers
-
-Each product is assigned a handler that filters and processes the results
-from the CMR. The following handlers are available:
-
-* `AquaSwathMultiDay`: Use for Aqua 5-minute data granules where today,
-yesterday, and tomorrow appear together on the same map.
-* `CollectionList`: Does not display any information on the map and presents a
-list. Use this for collections that do not have granules and only have
-a collection level entry.
-* `CollectionMix`: Handles layers which only have collection-level metadata
-and have different collections based on the selected date. Uses
-"science" and "nrt" query flags to distinguish between "old" and "new"
-collections, respectively.
-* `DailyAMSRE`: Displays a single entry for a daily AMSR-E product. Since the
-metadata is too exact, this omits granules that happen to contain a small
-fraction of the day.
-* `DailyGranuleList`: Similar to `List` but also obtains granules three hours
-from yesterday and tomorrow. This handler is only used for MODIS Combined
-Value Added AOD and granules appear to be in six hour chunks. It isn't apparent
-why this handler was necessary.
-* `HalfOrbit`: Handles large granules that are broken up into an ascending
-and descending component.
-* `List`: Displays all granules for the given day listed in a dialog box and
-not displayed on the map.
-* `MODISGrid`: Maps MODIS H and V tiles to the sinusoidal grid.
-* `MODISMix`: Handles layers where near-real time data is blocked into five
-minute granules and where processed data is blocked into H and V sinusoidal
-grid tiles.
-* `MODISSwath`: Use for 5-minute data granules where only today is shown
-on the map.
-* `TerraSwathMultiDay`: Use for Terra 5-minute data granules where today,
-yesterday, and tomorrow appear together on the same map.
-* `WELDGranuleFootprints`: Use for the WELD product.
-
-## Query Parameters
-
-The `query` configuration specifies the parameters sent in the CMR query.
-The available options are:
-
-* `shortName`: Short name used to identify this product. If more than one
-short name is required, for example, `AIRIBRAD` and `AIRIBRAD_NRT`, a list
-can be provided.
-* `dataCenterId`: Deprecated. Data center that provides this product. If more than
-one data center is required, for example, `NSIDC_ECS` and `LANCEMODIS`, a list
-can be provided. This parameter was used to speed up queries but now has the
-opposite effect and can break certain queries.
-* `dayNightFlag`: The value of the day/night flag, usually either `DAY` or
-`NIGHT`. Note that a granule that is both day and night is set to `BOTH`
-which isn't currently handled. Some products may populate this field with
-`UNSPECIFIED`
-* `collection`: Set to `true` when using the `CollectionList` handler for
-when no granules exist.
-
-If two queries need to be executed to obtain NRT and non-NRT products when
-using the `MODISMix` handler, the query is specified in the following manner:
-
-```json
-"query": {
- "science": {
- "shortName": "MYD09GA",
- "dataCenterId": "LPDAAC_ECS"
- },
- "nrt": {
- "shortName": "MYD09",
- "dataCenterId": "LANCEMODIS"
- }
-}
-```
-
-## Result Processing and Filtering
-
-Each handler has a series of processors that change or filter each result.
-The result processors and configurations are as follows:
-
-### AntiMeridianMulti
-
-If a granule splits the anti-meridian, this processor creates two polygons,
-one on each side of the map. The constructor takes a `maxDistance` argument
-that specifies a distance, in degrees. If a line segment in the polygon is
-greater than `maxDistance`, it's assumed to be crossing the anti-meridian.
-
-### CollectPreferred
-
-If multiple granules exist for a given acquisition time, this attempts to
-group the granule as either near-real time or science quality. The granule
-should already be tagged for NRT before using this processor. One of the
-granules will be marked as preferred as indicated by the `prefer` variable
-in the data download model. Use `PreferredFilter` to select only one of these.
-
-### CollectVersions
-
-If multiple granules exist for a given acquisition time, this attempts to
-group the granule by its version string. Use `VersionFilter` to select
-only one of these.
-
-### ConnectSwaths
-
-Uses the acquisition times to create connector lines to show the swath
-ground track. Swaths are normally connected when the start time of one
-granule matches the end time of another granule. If this is not the
-case, use the `delta` parameter to specify, in seconds, how much time should
-be added to the start time to match the end time of another granule. For
-VIIRS, this is -60.
-
-### DateTimeLabel
-
-Creates a label for this granule based on its acquisition date and time.
-
-### Densify
-
-Not used at the moment.
-
-### DividePolygon
-
-For polygons that cross the anti-meridian, normalize and create a mutli-polygon
-with a polygon on each side. Uses code provided by the Earthdata Search client.
-
-### ExtentFilter
-
-Excludes granules that do not intersect the `extent` provided in the
-constructor.
-
-### GeometryFromCMR
-
-Converts a CMR geometry to an OpenLayers 3 geometry.
-
-### GeometryFromMODISGrid
-
-Creates a polygon footprint given a MODIS H and V tile number.
-
-### MODISGridIndex
-
-Creates a index value by combining the MODIS H and V tile numbers.
-
-### MODISGridLabel
-
-Creates a label for this granule based on the MODIS H and V tile numbers.
-
-### OfflineFilter
-
-Filters out granules that are not available for download.
-
-### OrbitFilter
-
-Filter by ascending or descending orbit. Configure with `orbit` with the
-following parameters:
-
-* `type`: Always `regex_group`
-* `field`: The field to inspect to find the orbit
-* `regex`: The regular expression to match against, should have one group.
-* `match`: Keep the granule if it matches this value.
-
-Example:
-
-```json
-"orbit": {
- "type": "regex_group",
- "field": "producer_granule_id",
- "regex": ".*([AD])\\.hdf$",
- "match": "A"
-}
-```
-
-### PreferredFilter
-
-Only keeps near-real time granules if the `prefer` value passed in is `nrt`,
-otherwise keeps science-quality granules if `science`.
-
-### ProductLabel
-
-Sets the label of the granule to the `name` provided in the constructor.
-
-### TagButtonScale
-
-Sets a scale value for the granule selection buttons. Useful for making the
-buttons smaller for dense datasets. For example, WELD uses a value of
-0.35.
-
-### TagList
-
-Forces the results to display in a dialog box list instead of on the map.
-
-### TagNRT
-
-Mark granules as near-real time depending on the following `nrt` configuration
-parameters:
-
-* `by`: Determine if this is NRT by `value` or `regex`
-* `field`: The field value to check against
-* `value`: Field value must equal this exactly.
-* `regex`: Field value must match this regular expression.
-* `handler`: If the handler for this product is `MODISMix` or `CollectionMix`,
-the handler to use for the NRT query, for example, `TerraSwathMultiDay`.
-
-Example:
-
-```json
-"nrt": {
- "handler": "TerraSwathMultiDay",
- "by": "value",
- "field": "data_center",
- "value": "LANCEMODIS"
-},
-```
-
-### TagProduct
-
-Add a field to the granule result with the name of the product.
-
-### TagURS
-
-Mark granules as requiring URS access depending on the following `urs`
-configuration parameters.
-
-* `by`: Determine if this requires URS by `value`, `regex`, or `constant`
-* `field`: The field value to check against
-* `value`: Field value must equal this exactly or the constant to set as.
-* `regex`: Field value must match this regular expression.
-
-### TagVersion
-
-Parse out the version field into a numeric value that can used for comparison
-operations.
-
-### TagVersionRegex
-
-Use a regular expression to parse out a version into a numeric value that can
-used for comparison operations. Parameters:
-
-* `field`: The name of the field that contains the version
-* `namedRegex`: Use `MODISProducerGranuleID` to parse out the version from a
-MODIS producer granule ID in the form of
-`MOD04_L2.A2016137.2105.061.2017326151115.hdf`
-* `regex`: If `namedRegex` is not used, a regular expression used to extract
-the version
-* `parseVersion`: Use `MODIS` to multiply version numbers below 10 by 10. This
-changes MODIS version numbers from 5, 51, 6, 61 to 50, 51, 60, 61.
-
-### TimeFilter
-
-Keep granules that meet the following values passed into the `spec`
-constructor:
-
-* `eastZone`: Minutes since UTC midnight to check for granules from the
-previous day
-* `westZone`: Minutes since UTC midnight to check for granules from the next
-day.
-* `maxDistance`: Any line segment in a polygon that exceeds this distance,
-in degrees, is considered to have crossed the anti-meridian.
-
-### TimeLabel
-
-Creates a label for this granule based on its acquisition time only. Times
-that are not from the selected day are indicated with + or - day indicators.
-
-### TitleLabel
-
-Use the provided title in the metadata as the granule label.
-
-### Transform
-
-Convert the EPSG:4326 coordinates into the other projections required for
-display.
-
-### VersionFilter
-
-Given a set of granules with different versions, only select the latest.
-
-### VersionFilterExact
-
-Only select granules with the exact version specified in the `version`
-configuration item.
diff --git a/doc/features.md b/doc/features.md
index ebaf6bf43..6dc4c1b4c 100644
--- a/doc/features.md
+++ b/doc/features.md
@@ -21,10 +21,10 @@ This feature provides natural events queried by Earth Observatory Natural Event
to disable, set:
`"naturalEvents": false`
-## Data Download
+## Smart Handoffs
-This feature uses CGI scripts to query the CMR API on the server. To enable,
-edit `config/default/common/features.json` and set `"dataDownload": true`.
+This feature allows directing users to [Earthadata Search](https://search.earthdata.nasa.gov/) to download the underlying data for layers. For more information see the [Smart Handoffs docs](./smart_handoffs.md). To enable,
+edit `config/default/common/features.json` and set `"smartHandoffs": true`.
## GeocodeSearch
diff --git a/doc/smart_handoffs.md b/doc/smart_handoffs.md
new file mode 100644
index 000000000..4a9935ce4
--- /dev/null
+++ b/doc/smart_handoffs.md
@@ -0,0 +1,5 @@
+# Smart Handoffs
+
+**Note**: This feature relies on the [Common Metadata Repository (CMR)](https://cmr.earthdata.nasa.gov/) and does not work for data sets stored elsewhere.
+
+This feature also relies on visualization metadata served by [GIBS](https://earthdata.nasa.gov/eosdis/science-system-description/eosdis-components/gibs) in order to map a layer in Worldview to the right data collections in CMR.
\ No newline at end of file