weights

Manage weights in the catalogue. Register, add locations, etc.

usage: anemoi-registry weights [-h] [--register] [--unregister]
                               [--get-metadata KEY [TYPE ...]]
                               [--set-metadata KEY=VALUE [TYPE ...]]
                               [--remove-metadata KEY]
                               [--add-location ADD_LOCATION]
                               [--location-path PATH] [--overwrite] [--url]
                               [--view]
                               NAME_OR_PATH

Positional Arguments

NAME_OR_PATH

Name or path of a weights.

Named Arguments

--register

Register the weights in the catalogue.

Default: False

--unregister

Remove from catalogue (without deleting it from its actual locations). Ignore all other options.

Default: False

--get-metadata

Get a metadata value from the weights catalogue record (KEY, [TYPE]). KEY is a ‘.’ separated path to the value. TYPE is the output format : str (default), yaml, json.

--set-metadata

Set a metadata value to the weights catalogue record (KEY=VALUE, [TYPE]). KEY is a ‘.’ separated path to the value. TYPE is the input type : str, int, float, bool, stdin, path, yaml, json, datetime, timedelta. Default type is ‘str’. TYPE ‘int’, ‘float’, ‘bool’, ‘datetime’, ‘timedelta’ cast the VALUE before storing it. TYPE ‘json’ and ‘yaml’ parse the VALUE before storing it. TYPE ‘path’ reads the file provided as VALUE (.json, .yaml, etc). TYPE ‘stdin’ reads the value from the standard input, ignoring the VALUE.

--remove-metadata

Delete a metadata value to the weights catalogue record (KEY)

--add-location

Platform to add location to the weights.

--location-path

Path of the new location using {{uuid}}.

--overwrite

Overwrite any existing weights.

Default: False

--url

Print the URL of the dataset.

Default: False

--view

Open the URL of the weights in a browser.

Default: False