From a690bd6ff0edae0501ccc741782babe5418898c7 Mon Sep 17 00:00:00 2001 From: Joshua Torrance Date: Thu, 12 Mar 2026 15:21:01 +1100 Subject: [PATCH 01/10] Added files for geospatial extent --- .../output/file-metadata/2-1-0/global.json | 22 +++++++++++++++++++ .../2-1-0/global/geospatial_lat_max.json | 8 +++++++ .../2-1-0/global/geospatial_lat_min.json | 8 +++++++ .../2-1-0/global/geospatial_lat_units.json | 8 +++++++ .../2-1-0/global/geospatial_lon_max.json | 8 +++++++ .../2-1-0/global/geospatial_lon_min.json | 8 +++++++ .../2-1-0/global/geospatial_lon_units.json | 8 +++++++ 7 files changed, 70 insertions(+) create mode 100644 au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_max.json create mode 100644 au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_min.json create mode 100644 au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_units.json create mode 100644 au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_max.json create mode 100644 au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_min.json create mode 100644 au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_units.json diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global.json index 83eeda5..b9d3ca0 100644 --- a/au.org.access-nri/model/output/file-metadata/2-1-0/global.json +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global.json @@ -13,6 +13,10 @@ "experiment_repo", "experiment_uuid", "frequency", + "geospatial_lat_max", + "geospatial_lat_min", + "geospatial_lon_max", + "geospatial_lon_min", "license", "model_version", "model", @@ -54,6 +58,24 @@ "frequency": { "$ref": "global/frequency.json" }, + "geospatial_lat_max": { + "$ref": "global/geospatial_lat_max.json" + }, + "geospatial_lat_min": { + "$ref": "global/geospatial_lat_min.json" + }, + "geospatial_lat_units": { + "$ref": "global/geospatial_lat_units.json" + }, + "geospatial_lon_max": { + "$ref": "global/geospatial_lon_max.json" + }, + "geospatial_lon_min": { + "$ref": "global/geospatial_lon_min.json" + }, + "geospatial_lon_units": { + "$ref": "global/geospatial_lon_units.json" + }, "grid": { "$ref": "global/grid.json" }, diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_max.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_max.json new file mode 100644 index 0000000..82acd92 --- /dev/null +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_max.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "global/geospatial_lat_max.json", + "title": "geospatial_lat_max", + "description": "Specifies the northernmost latitude covered by the dataset. Units should be \"degrees North\" and values should be a number equal to or between -90 and 90.", + "examples": [ 90, 12.98 ], + "type": "number" +} diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_min.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_min.json new file mode 100644 index 0000000..d255f07 --- /dev/null +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_min.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "global/geospatial_lat_min.json", + "title": "geospatial_lat_min", + "description": "Specifies the southernmost latitude covered by the dataset. Units should be \"degrees North\" and values should be a number equal to or between -90 and 90.", + "examples": [ -90, -57.97 ], + "type": "number" +} diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_units.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_units.json new file mode 100644 index 0000000..b51bce6 --- /dev/null +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_units.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "global/geospatial_lat_units.json", + "title": "geospatial_lat_units", + "description": "Units for the latitude axis described in \"geospatial_lat_min\" and \"geospatial_lat_max\" attributes. These should be \"degrees_north\".", + "examples": [ "degrees_north" ], + "type": "string" +} diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_max.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_max.json new file mode 100644 index 0000000..078fe43 --- /dev/null +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_max.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "global/geospatial_lon_max.json", + "title": "geospatial_lon_max", + "description": "Specifies the easternmost longitude covered by the dataset. Units should be \"degrees East\" and values should be a number equal to or between -180 and 180. Cases where geospatial_lon_min is greater than geospatial_lon_max indicate the bounding box extends from geospatial_lon_max, through the longitude range discontinuity meridian, the antimeridian for -180:180 values, to geospatial_lon_min; for example, geospatial_lon_min=170 and geospatial_lon_max=-175 incorporates 15 degrees of longitude (ranges 170 to 180 and -180 to -175).", + "examples": [ 180, -152.61 ], + "type": "number" +} diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_min.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_min.json new file mode 100644 index 0000000..a078f48 --- /dev/null +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_min.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "global/geospatial_lon_min.json", + "title": "geospatial_lon_min", + "description": "Specifies the westernmost latitude covered by the dataset. Units should be \"degrees East\" and values should be a number equal to or between -180 and 180. See also geospatial_lon_max.", + "examples": [ -180, 88.48 ], + "type": "number" +} diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_units.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_units.json new file mode 100644 index 0000000..be3d6d4 --- /dev/null +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_units.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "global/geospatial_lon_units.json", + "title": "geospatial_lon_units", + "description": "Units for the longitude axis described in \"geospatial_lon_min\" and \"geospatial_lon_max\" attributes. These should be \"degrees_east\".", + "examples": [ "degrees_east" ], + "type": "string" +} From faf68e4bd984a36b87b2c5275502c339435ac50b Mon Sep 17 00:00:00 2001 From: Joshua Torrance Date: Thu, 12 Mar 2026 15:48:31 +1100 Subject: [PATCH 02/10] CI is failing to install? Updating to latest release --- .github/workflows/schema-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/schema-ci.yml b/.github/workflows/schema-ci.yml index ffefc14..0729eb7 100644 --- a/.github/workflows/schema-ci.yml +++ b/.github/workflows/schema-ci.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v4 - name: Install the Sourcemeta JSON Schema CLI - uses: sourcemeta/jsonschema@v11.8.3 + uses: sourcemeta/jsonschema@v14.14.2 - name: Check schemas against their metaschemas run: jsonschema metaschema --verbose $SCHEMA_DIR From e6b7b9cdaf69ff2c549b716b39295ec43a375515 Mon Sep 17 00:00:00 2001 From: Joshua Torrance Date: Thu, 12 Mar 2026 15:59:09 +1100 Subject: [PATCH 03/10] Added exclusions for 2 linting rules, split command over multiple lines --- .github/workflows/schema-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/schema-ci.yml b/.github/workflows/schema-ci.yml index 0729eb7..0b04d98 100644 --- a/.github/workflows/schema-ci.yml +++ b/.github/workflows/schema-ci.yml @@ -27,7 +27,12 @@ jobs: run: jsonschema fmt --check --verbose $SCHEMA_DIR - name: Lint schemas - run: jsonschema lint --verbose --exclude enum_with_type $SCHEMA_DIR + run: | + jsonschema lint --verbose \ + --exclude enum_with_type \ + --exclude description_trailing_period \ + --exclude top_level_examples \ + $SCHEMA_DIR - name: Run test suite run: jsonschema test --verbose $TEST_DIR --resolve $SCHEMA_DIR From aad74890e70cb602cc35702df8ca36fa5f6f497c Mon Sep 17 00:00:00 2001 From: Joshua Torrance Date: Thu, 12 Mar 2026 16:03:08 +1100 Subject: [PATCH 04/10] Does this work for adding another directory to run commands over? --- .github/workflows/schema-ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/schema-ci.yml b/.github/workflows/schema-ci.yml index 0b04d98..2d2021d 100644 --- a/.github/workflows/schema-ci.yml +++ b/.github/workflows/schema-ci.yml @@ -8,7 +8,9 @@ on: workflow_dispatch: env: - SCHEMA_DIR: au.org.access-nri/model/output/file-metadata/2-0-0 + SCHEMA_DIRS: | + au.org.access-nri/model/output/file-metadata/2-0-0 + au.org.access-nri/model/output/file-metadata/2-1-0 TEST_DIR: tests/2-0-0 jobs: @@ -21,10 +23,10 @@ jobs: uses: sourcemeta/jsonschema@v14.14.2 - name: Check schemas against their metaschemas - run: jsonschema metaschema --verbose $SCHEMA_DIR + run: jsonschema metaschema --verbose $SCHEMA_DIRS - name: Check schemas are formatted - run: jsonschema fmt --check --verbose $SCHEMA_DIR + run: jsonschema fmt --check --verbose $SCHEMA_DIRS - name: Lint schemas run: | @@ -32,7 +34,7 @@ jobs: --exclude enum_with_type \ --exclude description_trailing_period \ --exclude top_level_examples \ - $SCHEMA_DIR + $SCHEMA_DIRS - name: Run test suite - run: jsonschema test --verbose $TEST_DIR --resolve $SCHEMA_DIR + run: jsonschema test --verbose $TEST_DIR --resolve $SCHEMA_DIRS From ed987e8f9ddf10f4dfa799c9f14a08f803b3362e Mon Sep 17 00:00:00 2001 From: Joshua Torrance Date: Thu, 12 Mar 2026 16:07:04 +1100 Subject: [PATCH 05/10] Updated 2-1-0 test with new attributes --- tests/2-1-0/test.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/2-1-0/test.json b/tests/2-1-0/test.json index 7191d75..4a50e56 100644 --- a/tests/2-1-0/test.json +++ b/tests/2-1-0/test.json @@ -16,6 +16,12 @@ "id": "F6B536FA-766D-4609-B767-754C9424440A", "frequency": "1hr", "grid": "grid goes here", + "geospatial_lat_min": -90, + "geospatial_lat_max": 90, + "geospatial_lat_units": "degrees_north", + "geospatial_lon_min": -180, + "geospatial_lon_max": 180, + "geospatial_lon_units": "degrees_east", "license": "CC-BY-4.0", "model_version": "2025.06.001", "model": "ACCESS-ESM1.6", From 8018aabc135c7b2bd256b17b1f3f33fb34ba8e97 Mon Sep 17 00:00:00 2001 From: Joshua Torrance Date: Thu, 12 Mar 2026 16:25:46 +1100 Subject: [PATCH 06/10] Updating schema testing to handle multiple versions --- .github/workflows/schema-ci.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/schema-ci.yml b/.github/workflows/schema-ci.yml index 2d2021d..dc46b6b 100644 --- a/.github/workflows/schema-ci.yml +++ b/.github/workflows/schema-ci.yml @@ -11,7 +11,10 @@ env: SCHEMA_DIRS: | au.org.access-nri/model/output/file-metadata/2-0-0 au.org.access-nri/model/output/file-metadata/2-1-0 - TEST_DIR: tests/2-0-0 + # TEST_DIRS need to have matching SCHEMA_DIRS in the same order + TEST_DIRS: | + tests/2-0-0 + tests/2-1-0 jobs: schema-tests: @@ -37,4 +40,11 @@ jobs: $SCHEMA_DIRS - name: Run test suite - run: jsonschema test --verbose $TEST_DIR --resolve $SCHEMA_DIRS + run: | + # Need to iterate through each pair of DIRS since there will be name + # collisions with different versions of the same schema + for i in "${!TEST_DIRS[@]}"; do + TEST_DIR=${TEST_DIRS[i]} + SCHEMA_DIR=${SCHEMA_DIRS[i]} + jsonschema test --verbose $TEST_DIR --resolve $SCHEMA_DIRS + done From 5ef8d152eaed97e0cb0b76ade8292d0162a49c32 Mon Sep 17 00:00:00 2001 From: Joshua Torrance Date: Thu, 12 Mar 2026 16:27:15 +1100 Subject: [PATCH 07/10] Fixed typo --- .github/workflows/schema-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/schema-ci.yml b/.github/workflows/schema-ci.yml index dc46b6b..dc0c590 100644 --- a/.github/workflows/schema-ci.yml +++ b/.github/workflows/schema-ci.yml @@ -46,5 +46,5 @@ jobs: for i in "${!TEST_DIRS[@]}"; do TEST_DIR=${TEST_DIRS[i]} SCHEMA_DIR=${SCHEMA_DIRS[i]} - jsonschema test --verbose $TEST_DIR --resolve $SCHEMA_DIRS + jsonschema test --verbose $TEST_DIR --resolve $SCHEMA_DIR done From 3247f4653b874ae4422aedfda48934279d53341c Mon Sep 17 00:00:00 2001 From: Joshua Torrance Date: Thu, 12 Mar 2026 16:41:51 +1100 Subject: [PATCH 08/10] Trying to fix looping in shell script --- .github/workflows/schema-ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/schema-ci.yml b/.github/workflows/schema-ci.yml index dc0c590..03e2f8a 100644 --- a/.github/workflows/schema-ci.yml +++ b/.github/workflows/schema-ci.yml @@ -43,8 +43,11 @@ jobs: run: | # Need to iterate through each pair of DIRS since there will be name # collisions with different versions of the same schema - for i in "${!TEST_DIRS[@]}"; do - TEST_DIR=${TEST_DIRS[i]} - SCHEMA_DIR=${SCHEMA_DIRS[i]} - jsonschema test --verbose $TEST_DIR --resolve $SCHEMA_DIR + # Turn the strings into arrays of strings first + test_arr=($TEST_DIRS) + schema_arr=($SCHEMA_DIRS) + for i in "${!test_arr[@]}"; do + test_dir=${test_arr[i]} + schema_dir=${schema_arr[i]} + jsonschema test --verbose $test_dir --resolve $schema_dir done From 7e273f09f4b63c447afb59efcb33f16f7608c32a Mon Sep 17 00:00:00 2001 From: Joshua Torrance Date: Thu, 12 Mar 2026 16:45:17 +1100 Subject: [PATCH 09/10] Added rules to geospatial attributes --- .../output/file-metadata/2-1-0/global/geospatial_lat_max.json | 2 ++ .../output/file-metadata/2-1-0/global/geospatial_lat_min.json | 2 ++ .../output/file-metadata/2-1-0/global/geospatial_lat_units.json | 1 + .../output/file-metadata/2-1-0/global/geospatial_lon_max.json | 2 ++ .../output/file-metadata/2-1-0/global/geospatial_lon_min.json | 2 ++ .../output/file-metadata/2-1-0/global/geospatial_lon_units.json | 1 + 6 files changed, 10 insertions(+) diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_max.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_max.json index 82acd92..1cd7848 100644 --- a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_max.json +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_max.json @@ -4,5 +4,7 @@ "title": "geospatial_lat_max", "description": "Specifies the northernmost latitude covered by the dataset. Units should be \"degrees North\" and values should be a number equal to or between -90 and 90.", "examples": [ 90, 12.98 ], + "minimum": -90, + "maximum": 90, "type": "number" } diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_min.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_min.json index d255f07..398c950 100644 --- a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_min.json +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_min.json @@ -4,5 +4,7 @@ "title": "geospatial_lat_min", "description": "Specifies the southernmost latitude covered by the dataset. Units should be \"degrees North\" and values should be a number equal to or between -90 and 90.", "examples": [ -90, -57.97 ], + "minimum": -90, + "maximum": 90, "type": "number" } diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_units.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_units.json index b51bce6..8d54350 100644 --- a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_units.json +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_units.json @@ -4,5 +4,6 @@ "title": "geospatial_lat_units", "description": "Units for the latitude axis described in \"geospatial_lat_min\" and \"geospatial_lat_max\" attributes. These should be \"degrees_north\".", "examples": [ "degrees_north" ], + "pattern": "degrees_north", "type": "string" } diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_max.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_max.json index 078fe43..3c1d778 100644 --- a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_max.json +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_max.json @@ -4,5 +4,7 @@ "title": "geospatial_lon_max", "description": "Specifies the easternmost longitude covered by the dataset. Units should be \"degrees East\" and values should be a number equal to or between -180 and 180. Cases where geospatial_lon_min is greater than geospatial_lon_max indicate the bounding box extends from geospatial_lon_max, through the longitude range discontinuity meridian, the antimeridian for -180:180 values, to geospatial_lon_min; for example, geospatial_lon_min=170 and geospatial_lon_max=-175 incorporates 15 degrees of longitude (ranges 170 to 180 and -180 to -175).", "examples": [ 180, -152.61 ], + "minimum": -180, + "maximum": 180, "type": "number" } diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_min.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_min.json index a078f48..b8046c0 100644 --- a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_min.json +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_min.json @@ -4,5 +4,7 @@ "title": "geospatial_lon_min", "description": "Specifies the westernmost latitude covered by the dataset. Units should be \"degrees East\" and values should be a number equal to or between -180 and 180. See also geospatial_lon_max.", "examples": [ -180, 88.48 ], + "minimum": -180, + "maximum": 180, "type": "number" } diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_units.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_units.json index be3d6d4..fd1acdd 100644 --- a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_units.json +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_units.json @@ -4,5 +4,6 @@ "title": "geospatial_lon_units", "description": "Units for the longitude axis described in \"geospatial_lon_min\" and \"geospatial_lon_max\" attributes. These should be \"degrees_east\".", "examples": [ "degrees_east" ], + "pattern": "degrees_east", "type": "string" } From 0c309fc1088bc8b0ae2d82f27e0312e6352b3793 Mon Sep 17 00:00:00 2001 From: Joshua Torrance Date: Thu, 12 Mar 2026 16:48:05 +1100 Subject: [PATCH 10/10] Reordered new rules to satisfy formatter --- .../output/file-metadata/2-1-0/global/geospatial_lat_max.json | 4 ++-- .../output/file-metadata/2-1-0/global/geospatial_lat_min.json | 4 ++-- .../file-metadata/2-1-0/global/geospatial_lat_units.json | 4 ++-- .../output/file-metadata/2-1-0/global/geospatial_lon_max.json | 4 ++-- .../output/file-metadata/2-1-0/global/geospatial_lon_min.json | 4 ++-- .../file-metadata/2-1-0/global/geospatial_lon_units.json | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_max.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_max.json index 1cd7848..9f05528 100644 --- a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_max.json +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_max.json @@ -4,7 +4,7 @@ "title": "geospatial_lat_max", "description": "Specifies the northernmost latitude covered by the dataset. Units should be \"degrees North\" and values should be a number equal to or between -90 and 90.", "examples": [ 90, 12.98 ], - "minimum": -90, + "type": "number", "maximum": 90, - "type": "number" + "minimum": -90 } diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_min.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_min.json index 398c950..9f523a0 100644 --- a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_min.json +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_min.json @@ -4,7 +4,7 @@ "title": "geospatial_lat_min", "description": "Specifies the southernmost latitude covered by the dataset. Units should be \"degrees North\" and values should be a number equal to or between -90 and 90.", "examples": [ -90, -57.97 ], - "minimum": -90, + "type": "number", "maximum": 90, - "type": "number" + "minimum": -90 } diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_units.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_units.json index 8d54350..acf3baf 100644 --- a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_units.json +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lat_units.json @@ -4,6 +4,6 @@ "title": "geospatial_lat_units", "description": "Units for the latitude axis described in \"geospatial_lat_min\" and \"geospatial_lat_max\" attributes. These should be \"degrees_north\".", "examples": [ "degrees_north" ], - "pattern": "degrees_north", - "type": "string" + "type": "string", + "pattern": "degrees_north" } diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_max.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_max.json index 3c1d778..b073c39 100644 --- a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_max.json +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_max.json @@ -4,7 +4,7 @@ "title": "geospatial_lon_max", "description": "Specifies the easternmost longitude covered by the dataset. Units should be \"degrees East\" and values should be a number equal to or between -180 and 180. Cases where geospatial_lon_min is greater than geospatial_lon_max indicate the bounding box extends from geospatial_lon_max, through the longitude range discontinuity meridian, the antimeridian for -180:180 values, to geospatial_lon_min; for example, geospatial_lon_min=170 and geospatial_lon_max=-175 incorporates 15 degrees of longitude (ranges 170 to 180 and -180 to -175).", "examples": [ 180, -152.61 ], - "minimum": -180, + "type": "number", "maximum": 180, - "type": "number" + "minimum": -180 } diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_min.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_min.json index b8046c0..1c5e559 100644 --- a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_min.json +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_min.json @@ -4,7 +4,7 @@ "title": "geospatial_lon_min", "description": "Specifies the westernmost latitude covered by the dataset. Units should be \"degrees East\" and values should be a number equal to or between -180 and 180. See also geospatial_lon_max.", "examples": [ -180, 88.48 ], - "minimum": -180, + "type": "number", "maximum": 180, - "type": "number" + "minimum": -180 } diff --git a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_units.json b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_units.json index fd1acdd..7182f8e 100644 --- a/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_units.json +++ b/au.org.access-nri/model/output/file-metadata/2-1-0/global/geospatial_lon_units.json @@ -4,6 +4,6 @@ "title": "geospatial_lon_units", "description": "Units for the longitude axis described in \"geospatial_lon_min\" and \"geospatial_lon_max\" attributes. These should be \"degrees_east\".", "examples": [ "degrees_east" ], - "pattern": "degrees_east", - "type": "string" + "type": "string", + "pattern": "degrees_east" }