ucar.nc2.ft.point.remote.pointStream.proto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdm Show documentation
Show all versions of cdm Show documentation
The NetCDF-Java Library is a Java interface to NetCDF files,
as well as to many other types of scientific data formats.
The newest version!
import "ucar/nc2/stream/ncStream.proto";
option java_package = "ucar.nc2.ft.point.remote";
option java_outer_classname = "PointStreamProto";
message Location {
required double time = 1;
required double lat = 2;
required double lon = 3;
optional double alt = 4;
optional double nomTime = 5;
}
message PointFeature {
required Location loc = 1;
required bytes data = 3; // fixed length data
repeated string sdata = 4; // Strings
}
message Member {
required string name = 1;
optional string desc = 2;
optional string units = 3;
required ncstream.DataType dataType = 4;
required ncstream.Section section = 5;
}
message PointFeatureCollection {
required string name = 1;
required string timeUnit = 2;
repeated Member members = 3;
optional string altUnit = 4;
}
message Station {
required string id = 1;
required double lat = 2;
required double lon = 3;
optional double alt = 4;
optional string desc = 5;
optional string wmoId = 6;
}
message StationList {
repeated Station stations = 1;
}
// cd c:/dev/github/thredds/cdm/src/main/java
// protoc --proto_path=. --java_out=. ucar/nc2/ft/point/remote/pointStream.proto
© 2015 - 2024 Weber Informatics LLC | Privacy Policy