aedg_metadata.cli#

Entry point for metadata generating CLI

Attributes#

app

Functions#

generate(config[, subdirectory, data_dictionary, ...])

To call gen_meta.py.

greet(name[, count])

Simple program that greets NAME for a total of COUNT times.

Module Contents#

aedg_metadata.cli.generate(config, subdirectory='public', data_dictionary='', bbox=ExtentTypes.specify, temporal=ExtentTypes.specify, save=False)#

To call gen_meta.py.

Parameters:
  • config (Annotated[str, typer.Argument(help='File stem of config file (req).')])

  • subdirectory (Annotated[str, typer.Option('--directory', '-d', help='Subdirectory of data/ where target file lives in the AEDG pond.')])

  • data_dictionary (Annotated[str, typer.Option('--data-dictionary', '-dd', help='Filename of the data dictionary stashed with the data file. If not specified, use the default fields registry file.')])

  • bbox (Annotated[aedg_metadata.ExtentTypes, typer.Option('--bbox', '-b', help='How the spatial bounding box should be determined.')])

  • temporal (Annotated[aedg_metadata.ExtentTypes, typer.Option('--time', '-t', help='How the temporal description should be determined.')])

  • save (Annotated[bool, typer.Option(help='Write generated metadata to the file or else to the screen.')])

Return type:

None

aedg_metadata.cli.greet(name, count=1)#

Simple program that greets NAME for a total of COUNT times.

Parameters:
  • name (Annotated[str, typer.Argument(help='Last name of person to greet.')])

  • count (Annotated[int, typer.Option(help='Number of times to repeat.')])

Return type:

None

aedg_metadata.cli.app#