Skip to content

ndi.database.fun.NDICloud_essential_metadata_submit

  NDICLOUD_ESSENTIAL_METADATA_SUBMIT - submit or update metadata in the cloud

  [DATASET, DATASET_ID] = ndi.database.fun.NDICloud_essential_metadata_submit(EMAIL, PASSWORD, LOCATION, DATAIDENTIFIER, DATASETINFORMATION)

  Inputs:
    EMAIL - a string with the email address
    PASSWORD - a string with the password
    LOCATION - a string. Either 'local' or 'cloud'.
    DATAIDENTIFIER - if LOCATION is 'local', then DATAIDENTIFIER is a ndi.session.dir
                     If LOCATION is 'cloud', then DATAIDENTIFIER is a string representing the dataset_id
    DATASETINFORMATION - a structure with metadata fields to submit