Ingest functions#

Ingest function design guidelines#

  • ingest one thing. E.g., one parameter, or one spectrum.

  • use raise_error = True/False. * use exit_function to help * If True, raise an error if the ingest fails. * If False, return None and log warning if the ingest fails and log warning.

  • use helper functions to get constrained values from the database such as regime, instrument, etc.

    • astrodb_utils.utils.get_constrained_value

Need to decide#