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

Bettereliminatesubparams #45

Closed
wants to merge 3 commits into from

Conversation

GFDL-Eric
Copy link
Contributor

Eliminates the subparams part of the field_table.yaml. Now, any field with associated methods will have those as a subsection of the yaml. Example output:

    - variable: omphil
      longname: omphil tracer
      units: mmr
      profile_type:
      - value: fixed
        surface_value: 1.0e-32
      convection: all
      chem_param:
      - value: aerosol
        frac_pm1: 0.89
        frac_pm25: 0.96
        frac_pm10: 1.0 
      dry_deposition:
      - value: wind_driven
        surfr: 100.0
      wet_deposition:
      - value: aerosol_below
        frac_incloud: 0.2 
        frac_incloud_uw: 0.3 
        frac_incloud_donner: 0.3 
        frac_incloud_snow: 0.0 
        alphar: 0.001
        alphas: 0.001
      radiative_param:
      - value: online
        name_in_rad_mod: omphilic
        name_in_clim_mod: organic_carbon

Eric Stofferahn added 3 commits May 6, 2024 12:58
…ks to fm_yaml and potentially field_manager.F90
…ks to fm_yaml and potentially field_manager.F90
…ks to fm_yaml and potentially field_manager.F90
@GFDL-Eric
Copy link
Contributor Author

Note that this will not work without a heavy rewrite of fm_yaml.F90 and potentially the yaml_parser itself. Additional changes to field_manager.F90 may also be required (tbd).

@uramirez8707
Copy link
Contributor

This is replaced with #52

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.

2 participants