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
github.com/golang/protobuf/proto
this is not vendored here. Pkgs are tested against the latest
version of github.com/golang/protobuf/proto
.
a generated pkg for gloria protobuf messages.
a generated pkg for protobufs created from the SIT repo.
a generated pkg for protobufs created from the Delta repo for SIT.
a generated pkg for haz protobuf messages.
metrics is for gathering metrics.
mmi is for Modificed Mercalli Intensity calculations in New Zealand.
mseed is a Go wrapper for libmseed. It is for working with miniSEED data. If using mseed then libmseed will need to be explicitly vendored and compiled This will require a C compiler (eg., gcc) and make (possibly other packages depending on your system). Alpine requires musl-dev
govendor add github.com/GeoNet/kit/cvendor/libmseed/^
cd vendor/github.com/GeoNet/kit/cvendor/libmseed
make clean
make
sc3ml is for working with SeisComPML files.
shake is for PGA, PGV, and MMI calculations
slink is a Go wrapper for libslink. It is for working with SEEDlink servers. If using slink then libslink will need to be explicitly vendored and compiled This will require a C compiler (eg., gcc) and make (possibly other packages depending on your system). Alpine requires musl-dev
govendor add github.com/GeoNet/kit/cvendor/libslink/^
cd vendor/github.com/GeoNet/kit/cvendor/libslink
make clean
make
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.