command
module
Version:
v0.0.0-...-bccaaa7
Opens a new window with list of versions in this module.
Published: Oct 21, 2021
License: Unlicense
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Test ingest and fetcher client
Two simple clients for the database
I used the DMI dataset, files (zipped) can be downloaded at: https://dmigw.govcloud.dk/v2/lightningdata/bulk/?api-key=<your-key>
.
The api-key
requires sign up. I added the data for april 2005 in this repository, and some range-queries for it.
sign up via this guide: https://confluence.govcloud.dk/pages/viewpage.action?pageId=26476690
How I made this
so you could make one yourself
- I downloaded the data
- built the
.proto
-file via https://json-to-proto.github.io/.
- fixed some names and types (float >< integer)
- I added the new type (named
Feature
) as the value-type in ld.proto, as ld.proto.
- I compiled the client library using this tempered
.proto
-file
cd ./client-proto
docker run -v `pwd`:/defs namely/protoc-all -l go -f ld.proto -o .
- I built the ingestion algorithm, serializing this json-file (line-delimited) to proto-messages, with a focus on building a key,
- I added some
get
stuff to test querying.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.