Skip to content

Extract and Use Metadata in Filenames #8

@jpshanno

Description

@jpshanno

Filenames generally include information about the data collected: site, sensor, measurement type, date collected, etc. A generalized approach (probably just a function or two) that would split the filename into data columns using a template would be very useful. For example if a set of file names read as "site-variable-year" (152-soil_moisture-2017, 152-soil_temperature-2017, 140-soil_moisture_2017, etc), then the function would take an argument supplying the template as column headers: "site-variable-year" with either delimiters or the length of each variable to enable splitting. The extracted data could either be added to the read-in dataset, or used to generate an inventory of data by the provided variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions