Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support user-specified map/dict of directory structure. #28

Closed
spencerahill opened this issue Nov 1, 2015 · 1 comment
Closed

Support user-specified map/dict of directory structure. #28

spencerahill opened this issue Nov 1, 2015 · 1 comment

Comments

@spencerahill
Copy link
Owner

The GFDL directory structure logic I use is specific to my own naming conventions, i.e. atmos_level_inst for instantaneous atmospheric data on model-native coordinates. However, not all people use these same names -- they can be named basically arbitrarily in the simulation's XML. Therefore, the logic for traversing a GFDL directory of model output should support user-supplied names.

The good thing is that, besides the names of the components, the structure is pretty much locked in, meaning that only the strings would have to be modified. The specification of these names could potentially vary from run to run within a model, and so it should be supported to be specified at the Run, Model, or Proj level. E.g. `component_names={'p.inst': 'atmos_inst', 'eta.inst': 'atmos_level_inst'}. This needs to be thought out further.

@spencerahill
Copy link
Owner Author

This hasn't been accomplished yet, but it has been subsumed by the larger revamp of the file-finding methods addressed by #32 so no need for its own open issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant