qubed/docs/cmd.md
2025-03-27 18:30:12 +00:00

880 B

Command Line Usage

fdb list class=rd,expver=0001,... | qubed --from=fdblist --to=text

fdb list --minimum-keys=class class=d1,dataset=climate-dt --config prod_remoteFDB.yaml  | qubed convert --from=fdb --to=text

--from options include:

  • fdb

--to options include:

  • text
  • html
  • json

use --input and --output to specify input and output files respectively.

There's some handy test data in the tests/data directory. For example:

gzip -dc tests/data/fdb_list_compact.gz| qubed convert --from=fdb --to=text --output=qube.txt
gzip -dc tests/data/fdb_list_porcelain.gz| qubed convert --from=fdb --to=json --output=qube.json
gzip -dc tests/data/fdb_list_compact.gz | qubed convert --from=fdb --to=html --output=qube.html

## Todo

--from for

  • protobuf
  • marslist
  • constraints

--to for

  • json
  • datacubes
  • constraints