You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sdap.apache.org by nc...@apache.org on 2021/08/11 23:04:52 UTC

[incubator-sdap-nexusproto] branch master updated: feat: add multi band data types (#8)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 003ca61  feat: add multi band data types (#8)
003ca61 is described below

commit 003ca614cd2c4532630c8326f01740d00576f61f
Author: wphyojpl <38...@users.noreply.github.com>
AuthorDate: Wed Aug 11 16:04:48 2021 -0700

    feat: add multi band data types (#8)
    
    * feat: need data_var_name as array
    
    * feat: add grid_multi_band_tile, swath_multi_band_tile + add data_dim_names to TileSummary + bump up the version
    
    * chore: rename band to variable
    
    * feat: revert data_var_name to string for backward compatibility
    
    * chore: bump version to 1.1
---
 gradle.properties             |  4 ++--
 src/main/proto/DataTile.proto | 34 +++++++++++++++++++++++++++++++++-
 2 files changed, 35 insertions(+), 3 deletions(-)

diff --git a/gradle.properties b/gradle.properties
index 6f1e3b2..3e92cb9 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
-theVersion=1.0.0
+theVersion=1.1.0
 theName=nexusproto
 theGroup=org.apache.sdap
-theSourceCompatibility=1.8
\ No newline at end of file
+theSourceCompatibility=1.8
diff --git a/src/main/proto/DataTile.proto b/src/main/proto/DataTile.proto
index f2accf1..ff0a8a7 100644
--- a/src/main/proto/DataTile.proto
+++ b/src/main/proto/DataTile.proto
@@ -51,6 +51,21 @@ message GridTile{
 
 }
 
+message GridMultiVariableTile{
+
+    ShapedArray latitude = 1;
+    ShapedArray longitude = 2;
+
+    int64 time = 3;
+
+    ShapedArray variable_data = 4;
+
+    repeated MetaData meta_data = 5;
+
+    float depth = 6;
+
+}
+
 message SwathTile{
 
     ShapedArray latitude = 1;
@@ -65,6 +80,20 @@ message SwathTile{
 
 }
 
+message SwathMultiVariableTile{
+
+    ShapedArray latitude = 1;
+    ShapedArray longitude = 2;
+    ShapedArray time = 3;
+
+    ShapedArray variable_data = 4;
+
+    repeated MetaData meta_data = 5;
+
+    float depth = 6;
+
+}
+
 message TimeSeriesTile{
 
     ShapedArray latitude = 1;
@@ -132,6 +161,7 @@ message TileSummary{
     }
     DataStats stats = 9;
     string standard_name = 10;
+    repeated string data_dim_names = 11;
 }
 
 message NexusTile{
@@ -147,5 +177,7 @@ message TileData{
         SwathTile swath_tile = 3;
         TimeSeriesTile time_series_tile = 4;
         EccoTile ecco_tile = 5;
+        GridMultiVariableTile grid_multi_variable_tile = 6;
+        SwathMultiVariableTile swath_multi_variable_tile = 7;
     }
-}
\ No newline at end of file
+}