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
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 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 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 @@
}
DataStats stats = 9;
string standard_name = 10;
+ repeated string data_dim_names = 11;
}
message NexusTile{
@@ -147,5 +177,7 @@
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
+}