Common packages for GeoNet applications.
Protobuf definitions are stored in the protobuf
dir. Go pkgs are generated from these files
with a _pb
suffix e.g., haz_pb
is generated from protobuf/haz
. Go protobuf pkgs import
google.golang.org/protobuf/proto
this is not vendored here. Pkgs are tested against the latest
version of google.golang.org/protobuf/proto
.
(06/Aug/2021) Currently github.com/golang/groupcache
is still using github.com/golang/protobuf
thus an indirect still in go.mod
. Need to keep watching if groupcache has migrated so we can get rid of this.
a generated pkg for gloria protobuf messages.
a generated pkg for haz protobuf messages.
metrics is for gathering metrics.
mmi is for Modificed Mercalli Intensity calculations in New Zealand.
sc3ml is for working with SeisComPML files.
seis/ms
is for working with miniSEED data.seis/sl
is for working with SEEDlink servers.seis/dl
is for working with datalink servers.
shake is for PGA, PGV, and MMI calculations
weft helps with web applications.
wgs84 is for distance, bearing, and locality calculations on the WGS84 ellipsoid.
cfg helps read Postgres configuration from env var.