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

Dedicated indexing script #299

Open
aidanheerdegen opened this issue Jun 29, 2022 · 1 comment · Fixed by #300
Open

Dedicated indexing script #299

aidanheerdegen opened this issue Jun 29, 2022 · 1 comment · Fixed by #300

Comments

@aidanheerdegen
Copy link
Collaborator

A dedicated indexing script has a number of advantages:

  • Implement complicated logic for optimising indexing, without having to alter the basic API which is ill suited for this task
  • Could impose some restrictions on indexing to improve quality of the database meta-data. Specifically could require a metadata.yaml file to be present with some essential fields filled before indexing the data
  • Requiring a metadata.yaml file would simplify the process of deciding what is an experiment, as it is then simply a directory containing a metadata.yaml file
  • With above changes could use a yaml configuration file to define which directories to index
  • A config file would allow for the concept of "collections" with associated meta-data, i.e. an extra layer in the hierarchy in the DB. This would allow for experiment name degeneracy, as experiment names might only have to be unique within collections.
@access-hive-bot
Copy link

This issue has been mentioned on ACCESS Hive Community Forum. There might be relevant details there:

https://forum.access-hive.org.au/t/cosima-cookbook-updating-needs/130/2

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

Successfully merging a pull request may close this issue.

3 participants