From a3f79716df62c8db8ff7999cadb061683f651d87 Mon Sep 17 00:00:00 2001 From: Jeremy Faden Date: Mon, 3 Feb 2025 12:01:36 -0600 Subject: [PATCH 1/3] vectorComponents, not components. Add comment about only one. --- hapi-dev/HAPI-data-access-spec-dev.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hapi-dev/HAPI-data-access-spec-dev.md b/hapi-dev/HAPI-data-access-spec-dev.md index 37e37c7..a42c659 100644 --- a/hapi-dev/HAPI-data-access-spec-dev.md +++ b/hapi-dev/HAPI-data-access-spec-dev.md @@ -1092,6 +1092,7 @@ are made from locations that change with time. The `location` attribute can express the location of measurements either as a single, fixed location, or as location values that change with time. An alternative attribute, `geoLocation`, can be used instead as a compact way of describing an Earth-based position for a dataset's measurements. +Only `location` or `geoLocation` should be used, not both. For the case of a fixed location on Earth, the `geoLocation` attribute concisely represents a point location with an array of longitude, latitude, and optionally altitude. @@ -1117,7 +1118,7 @@ use a `location` object with these four attributes: | location Attribute | Type | Description | |------------------------|---------|-----------------------------------------------------------------| | `point` | double array | **Required** values to specify the location | -| `components` | string array | **Required** the kind of [`vectorComponents`](#3611-vectorcomponents-object) values in the `point` array | +| `vectorComponents` | string array | **Required** the kind of [`vectorComponents`](#3611-vectorcomponents-object) values in the `point` array | | `units` | string or string array | **Required** units string or strings for the `vectorComponents` values | | `coordinateSystemName` | string | **Required** the name of the coordinate system for the `vectorComponents` quantities | From c9f7e90ada401e62576c3a4f6a9b3cc1c2fa2c82 Mon Sep 17 00:00:00 2001 From: Jeremy Faden Date: Mon, 10 Feb 2025 11:27:05 -0600 Subject: [PATCH 2/3] double or double array, etc --- hapi-dev/HAPI-data-access-spec-dev.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hapi-dev/HAPI-data-access-spec-dev.md b/hapi-dev/HAPI-data-access-spec-dev.md index a42c659..b2a856d 100644 --- a/hapi-dev/HAPI-data-access-spec-dev.md +++ b/hapi-dev/HAPI-data-access-spec-dev.md @@ -1117,8 +1117,8 @@ use a `location` object with these four attributes: | location Attribute | Type | Description | |------------------------|---------|-----------------------------------------------------------------| -| `point` | double array | **Required** values to specify the location | -| `vectorComponents` | string array | **Required** the kind of [`vectorComponents`](#3611-vectorcomponents-object) values in the `point` array | +| `point` | double or double array | **Required** values to specify the location | +| `vectorComponents` | string or string array | **Required** the kind of [`vectorComponents`](#3611-vectorcomponents-object) values in the `point` array | | `units` | string or string array | **Required** units string or strings for the `vectorComponents` values | | `coordinateSystemName` | string | **Required** the name of the coordinate system for the `vectorComponents` quantities | From f24f3dacf507b37ee8a89f0126fac836025e2991 Mon Sep 17 00:00:00 2001 From: jvandegriff Date: Mon, 10 Feb 2025 13:06:21 -0500 Subject: [PATCH 3/3] small wording changes --- hapi-dev/HAPI-data-access-spec-dev.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hapi-dev/HAPI-data-access-spec-dev.md b/hapi-dev/HAPI-data-access-spec-dev.md index b2a856d..0bc15e7 100644 --- a/hapi-dev/HAPI-data-access-spec-dev.md +++ b/hapi-dev/HAPI-data-access-spec-dev.md @@ -1118,8 +1118,8 @@ use a `location` object with these four attributes: | location Attribute | Type | Description | |------------------------|---------|-----------------------------------------------------------------| | `point` | double or double array | **Required** values to specify the location | -| `vectorComponents` | string or string array | **Required** the kind of [`vectorComponents`](#3611-vectorcomponents-object) values in the `point` array | -| `units` | string or string array | **Required** units string or strings for the `vectorComponents` values | +| `vectorComponents` | string or string array | **Required** the kind of [`vectorComponents`](#3611-vectorcomponents-object) values in the `point` array. Number of values should match what is in `point`. | +| `units` | string or string array | **Required** units string or strings for the `vectorComponents` values. To see how `units` are applied to scalars or arrays, see [the section about units and arrays](#3610-units-and-label-array) | | `coordinateSystemName` | string | **Required** the name of the coordinate system for the `vectorComponents` quantities | If a `unitsSchema` has been specified for this dataset, any string given for the `units` must be consistent with that schema. Similarly, if a `coordinateSystemSchema` has been specified for this dataset, any string given for the `coordinateSystemName` must be consistent with that schema.