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

220 config file csv - initial chem species are moved to CSV, and also specified with JSON data #299

Open
wants to merge 32 commits into
base: main
Choose a base branch
from

Conversation

carl-drews
Copy link
Collaborator

my_config.json will now initialize chemical species like this JSON specifying one or more CSV files:

  "initial conditions": {
    "filepaths": ["initial_conditions.csv"],
    "data": [
      ["ENV.temperature [K]", "ENV.pressure [Pa]", "CONC.A [mol m-3]", "CONC.B [mol m-3]"],
      [200, 70000, 0.8, 0.2]
    ]
  },

Evolving conditions are also specified in the same manner:

  "evolving conditions": {
    "filepaths": [
      "conditions_Boulder.csv"
    ]
  },

The implementation provides warnings when a later condition overrides an earlier one.

carl-drews added 30 commits December 9, 2024 16:56
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 this pull request may close these issues.

1 participant