In working with NSIDC downloaded data I came across two metadata variables (Parameter Codes and Pit Comments) that were not yet mapped.
As I understand, the ExtendableVariables class only applies to override of the primary variables? (I initially tried adding the two new variables to the overrides.yaml file but this did not work).
My current workaround is:
from insitupy.campaigns.snowex import SnowExProfileData
from insitupy.variables import
from insitupy.campaigns.snowex.snowex_profile_data_collection import SnowExProfileDataCollection
fname = "fake_data.csv"
my_data = SnowExProfileDataCollection.from_csv(
fname, allow_map_failure=True,
metadata_variable_files=SnowExProfileData.DEFAULT_METADATA_VARIABLE_FILES + ["./override_metadata.yaml"],
)
This is totally fine, but wanted to be sure there wasn't a more elegant approach!
In working with NSIDC downloaded data I came across two metadata variables (
Parameter CodesandPit Comments) that were not yet mapped.As I understand, the
ExtendableVariablesclass only applies to override of the primary variables? (I initially tried adding the two new variables to theoverrides.yamlfile but this did not work).My current workaround is:
This is totally fine, but wanted to be sure there wasn't a more elegant approach!