Skip to content

Commit

Permalink
Merge pull request #1068 from radiantearth/gsd-gt0
Browse files Browse the repository at this point in the history
GSD > 0
  • Loading branch information
cholmes authored Mar 30, 2021
2 parents 10c8543 + 3ae8941 commit b2b1d7c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Changed

- `gsd` must be greater than 0.

### Removed

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion item-spec/common-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ with domain-specific extensions that describe the actual data, such as the `eo`
| instruments | \[string] | Name of instrument or sensor used (e.g., MODIS, ASTER, OLI, Canon F-1). |
| constellation | string | Name of the constellation to which the platform belongs. |
| mission | string | Name of the mission for which data is collected. |
| gsd | number | Ground Sample Distance at the sensor, in meters (m). |
| gsd | number | Ground Sample Distance at the sensor, in meters (m), must be greater than 0. |

### Additional Field Information

Expand Down
3 changes: 2 additions & 1 deletion item-spec/json-schema/instrument.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
},
"gsd": {
"title": "Ground Sample Distance",
"type": "number"
"type": "number",
"exclusiveMinimum": 0
}
}
}

0 comments on commit b2b1d7c

Please sign in to comment.