Patch Command

Patch a checkpoint file with new dataset metadata from the original training dataset.

If the checkpoint’s metadata is already up to date, this command does nothing. Otherwise, it updates the metadata and supporting arrays in-place.

usage: anemoi-inference patch [-h] [--sanitise] path

Positional Arguments

path

Path to the checkpoint.

Named Arguments

--sanitise

If there is new metadata, sanitise it before patching.

Default: False