syntax = "proto3"; import "ncStream.proto"; option java_package = "ucar.nc2.ft.point.remote"; option java_outer_classname = "PointStreamProto"; message Location { double time = 1; double lat = 2; double lon = 3; double alt = 4; double nomTime = 5; } message PointFeature { Location loc = 1; bytes data = 3; // fixed length data repeated string sdata = 4; // Strings } message PointFeatureMember { string name = 1; string desc = 2; string units = 3; DataType dataType = 4; Section section = 5; } message PointFeatureCollection { string name = 1; string timeUnit = 2; repeated PointFeatureMember members = 3; string altUnit = 4; } message Station { string id = 1; double lat = 2; double lon = 3; double alt = 4; string desc = 5; string wmoId = 6; } message StationList { repeated Station stations = 1; } // cd netcdf-java/cdm/src/main/java // protoc --proto_path=. --java_out=. ucar/nc2/ft/point/remote/pointStream.proto