You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sdap.apache.org by rk...@apache.org on 2024/03/20 21:23:18 UTC

(incubator-sdap-nexusproto) branch develop updated: SDAP-469 - Extra modifications for elevation support (#19)

This is an automated email from the ASF dual-hosted git repository.

rkk pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexusproto.git


The following commit(s) were added to refs/heads/develop by this push:
     new a66d244  SDAP-469 - Extra modifications for elevation support (#19)
a66d244 is described below

commit a66d24487088e9b31cc31c7b73cb47cf8372bee4
Author: Riley Kuttruff <72...@users.noreply.github.com>
AuthorDate: Wed Mar 20 14:23:13 2024 -0700

    SDAP-469 - Extra modifications for elevation support (#19)
    
    * SDAP-469 - Updated tiles to have min/max depth
    
    * Created a changelog for nexusproto
    
    * Added misc backend time metrics record field in NCSH
    
    * Added elevation array to tiles.
    
    This will be needed for masking. I thought I could avoid needing it, but that is unfortunately not the case...
    
    * Changelog
    
    ---------
    
    Co-authored-by: rileykk <ri...@jpl.nasa.gov>
---
 CHANGELOG.md                  | 1 +
 src/main/proto/DataTile.proto | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1865f3e..b0aa31b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ### Added
 ### Changed
 - SDAP-469: Changed tile depth fields to reflect a range of depths for a given tile (min & max).
+  - Needed to also add elevation array for masking (Solr can select tiles that overlap spatially if the desired elevation slice goes through all)
 - SDAP-486: Renamed tile Z-axis dimension to 'elevation' from 'depth' to standardize how Z-axis is treated in SDAP.
 ### Deprecated
 ### Removed
diff --git a/src/main/proto/DataTile.proto b/src/main/proto/DataTile.proto
index 7494a2a..26d8279 100644
--- a/src/main/proto/DataTile.proto
+++ b/src/main/proto/DataTile.proto
@@ -50,6 +50,7 @@ message GridTile{
     float min_elevation = 6;
     float max_elevation = 7;
 
+    ShapedArray elevation = 8;
 }
 
 message GridMultiVariableTile{
@@ -66,6 +67,7 @@ message GridMultiVariableTile{
     float min_elevation = 6;
     float max_elevation = 7;
 
+    ShapedArray elevation = 8;
 }
 
 message SwathTile{
@@ -81,6 +83,7 @@ message SwathTile{
     float min_elevation = 6;
     float max_elevation = 7;
 
+    ShapedArray elevation = 8;
 }
 
 message SwathMultiVariableTile{
@@ -96,6 +99,7 @@ message SwathMultiVariableTile{
     float min_elevation = 6;
     float max_elevation = 7;
 
+    ShapedArray elevation = 8;
 }
 
 message TimeSeriesTile{