Skip to content

extra metadata slot for workflow documentation #96

Description

@teatree1212

I would really like a way to track what methods I have applied on the datasets, in the style of like the metadata that CDO etc builds up at the end of the a netCDF file:
You have metadata for spatial and temporal aggregation, In the "STAInfo" object, it would be great to have something like "method.applied" = "raw_data" (example below) , when reading in the data. Later in my workflow, after reading in some data, I want to create a new DGVMTools Field for the gini-coefficient for a given timeseries, but that is not a model output per se, I calculate that from different fields like number or stems per sizeclass and Basal area or Cwood per sizeclass. I want to be able to track that I have created Field "gini" from "cwood_size" and "BA_size", using the function get_gini_coeff. And all that I could paste as a string into the info method.applied, when running my calculate_gini function..


 return.sta.info <- new("STAInfo",
                           first.year = df$Year[1], # let's say
                           .....
                           subannual.original = "daily", # let's say
                           method.applied = "raw_data") <- Addition here. The rest could be done outside DGVMTools, in people's own functions.

I think it would make workflows more traceable. I love your metadata documentation approach, but don't see how I can myself quickly add more metadata categories.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions