podaac / l2ss-py

Level 2 subsetter with Harmony integration
https://podaac.github.io/l2ss-py/
Apache License 2.0
11 stars 11 forks source link

Feature/issue 119 #179

Closed nlenssen2013 closed 1 year ago

nlenssen2013 commented 1 year ago

Github Issue: #119

Description

Specific code addition for GPM files. Need to loop through the variables to change the dimensions from phony dimensions to what the dimensions are in the attributes.

Overview of work done

Loop through each variable, check if it's a variable that might be deleted if a variable subset is asked from the user. Get the DimensionName in the attributes, if the DimensionName is unique, create a new dimension and set the dimensions of the variables to the true names.

Overview of verification done

Test written to check that none of the variables have a "phony" dimension.

Overview of integration done

Explain how this change was integration tested. Provide screenshots or logs if appropriate. An example of this would be a local Harmony deployment.

PR checklist:

See Pull Request Review Checklist for pointers on reviewing this pull request