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

List of all possible fields? #170

Open
adominious opened this issue Apr 29, 2024 · 1 comment
Open

List of all possible fields? #170

adominious opened this issue Apr 29, 2024 · 1 comment

Comments

@adominious
Copy link

  • CliMT version: 0.17.12
  • Python version: 3.8.0
  • Operating System: EndeavourOS

In the example full_radiation_gcm_energy_balanced.py on the GitHub, the following is included:

fields_to_store = ['air_temperature', 'air_pressure', 'eastward_wind',
                   'northward_wind', 'air_pressure_on_interface_levels',
                   'surface_pressure', 'upwelling_longwave_flux_in_air',
                   'specific_humidity', 'surface_temperature',
                   'latitude', 'longitude',
                   'convective_heating_rate']

Is there a way I can see a list of all of the possible fields I can store within climt?

Thank you.

@amhayes231
Copy link

They can be found on line 700 ish of climt/_core/initialization.py. Here they all are:

default_values = {
    'air_temperature': {'value': 290., 'units': 'degK', 'domain': 'atmosphere'},
    'northward_wind': {'value': 0., 'units': 'm/s', 'domain': 'atmosphere'},
    'eastward_wind': {'value': 0., 'units': 'm/s', 'domain': 'atmosphere'},
    'divergence_of_wind': {'value': 0., 'units': 's^-1', 'domain': 'atmosphere'},
    'atmosphere_relative_vorticity': {'value': 0., 'units': 's^-1', 'domain': 'atmosphere'},
    'specific_humidity': {'value': 0., 'units': 'kg/kg', 'domain': 'atmosphere'},
    'mole_fraction_of_carbon_dioxide_in_air': {'value': 330e-6, 'units': 'dimensionless', 'domain': 'atmosphere'},
    'mole_fraction_of_methane_in_air': {'value': 0., 'units': 'dimensionless', 'domain': 'atmosphere'},
    'mole_fraction_of_nitrous_oxide_in_air': {'value': 0., 'units': 'dimensionless', 'domain': 'atmosphere'},
    'mole_fraction_of_oxygen_in_air': {'value': 0.21, 'units': 'dimensionless', 'domain': 'atmosphere'},
    'mole_fraction_of_nitrogen_in_air': {'value': 0.78, 'units': 'dimensionless', 'domain': 'atmosphere'},
    'mole_fraction_of_hydrogen_in_air': {'value': 500e-9, 'units': 'dimensionless', 'domain': 'atmosphere'},
    'mole_fraction_of_cfc11_in_air': {'value': 0., 'units': 'dimensionless', 'domain': 'atmosphere'},
    'mole_fraction_of_cfc12_in_air': {'value': 0., 'units': 'dimensionless', 'domain': 'atmosphere'},
    'mole_fraction_of_cfc22_in_air': {'value': 0., 'units': 'dimensionless', 'domain': 'atmosphere'},
    'mole_fraction_of_carbon_tetrachloride_in_air': {'value': 0., 'units': 'dimensionless', 'domain': 'atmosphere'},
    'cloud_area_fraction_in_atmosphere_layer': {'value': 0., 'units': 'dimensionless', 'domain': 'atmosphere'},
    'mass_content_of_cloud_ice_in_atmosphere_layer': {'value': 0., 'units': 'kg m^-2', 'domain': 'atmosphere'},
    'mass_content_of_cloud_liquid_water_in_atmosphere_layer': {'value': 0., 'units': 'kg m^-2', 'domain': 'atmosphere'},
    'cloud_ice_particle_size': {'value': 20., 'units': 'micrometer', 'domain': 'atmosphere'},
    'cloud_water_droplet_radius': {'value': 10., 'units': 'micrometer', 'domain': 'atmosphere'},
    'cloud_base_mass_flux': {'value': 0., 'units': 'kg m^-2 s^-1', 'domain': 'atmosphere_horizontal'},
    'zenith_angle': {'value': 0., 'units': 'radians', 'domain': 'atmosphere_horizontal'},
    'downwelling_shortwave_flux_in_air': {'value': 0., 'units': 'W m^-2', 'domain':
                                          'atmosphere_interface'},
    'downwelling_longwave_flux_in_air': {'value': 0., 'units': 'W m^-2', 'domain':
                                         'atmosphere_interface'},
    'upwelling_shortwave_flux_in_air': {'value': 0., 'units': 'W m^-2', 'domain':
                                        'atmosphere_interface'},
    'upwelling_longwave_flux_in_air': {'value': 0., 'units': 'W m^-2', 'domain':
                                       'atmosphere_interface'},


    'surface_specific_humidity': {'value': 0., 'units': 'kg/kg', 'domain': 'surface'},
    'surface_temperature': {'value': 300., 'units': 'degK', 'domain': 'surface'},
    'soil_surface_temperature': {'value': 300., 'units': 'degK', 'domain': 'surface'},
    'surface_geopotential': {'value': 0., 'units': 'm^2 s^-2', 'domain': 'surface'},
    'surface_thermal_capacity': {'value': 4.1813e3, 'units': 'J kg^-1 degK^-1', 'domain': 'surface'},
    'depth_of_slab_surface': {'value': 50., 'units': 'm', 'domain': 'surface'},
    'surface_material_density': {'value': 1000., 'units': 'kg m^-3', 'domain': 'surface'},
    'surface_albedo_for_direct_shortwave': {'value': 0.06, 'units': 'dimensionless', 'domain': 'surface'},
    'surface_albedo_for_diffuse_shortwave': {'value': 0.06, 'units': 'dimensionless', 'domain': 'surface'},
    'surface_albedo_for_direct_near_infrared': {'value': 0.06, 'units': 'dimensionless', 'domain': 'surface'},
    'surface_albedo_for_diffuse_near_infrared': {'value': 0.06, 'units': 'dimensionless', 'domain': 'surface'},
    'surface_roughness_length': {'value': 0.0002, 'units': 'dimensionless', 'domain': 'surface'},
    'surface_drag_coefficient_for_heat_in_air': {'value': 0.0012, 'units': 'dimensionless', 'domain': 'surface'},
    'surface_drag_coefficient_for_momentum_in_air': {'value': 0.0012, 'units': 'dimensionless', 'domain': 'surface'},
    'area_type': {'value': 'sea', 'units': 'dimensionless', 'dtype': 'a100', 'domain': 'surface'},
    'surface_upward_sensible_heat_flux': {'value': 0., 'units': 'W m^-2', 'domain': 'surface'},
    'surface_upward_latent_heat_flux': {'value': 0., 'units': 'W m^-2', 'domain': 'surface'},

    'soil_type': {'value': 'clay', 'units': 'dimensionless', 'dtype': 'a100', 'domain': 'land_horizontal'},
    'soil_temperature': {'value': 274., 'units': 'degK', 'domain': 'land_horizontal'},
    'soil_layer_thickness': {'value': 50., 'units': 'm', 'domain': 'land_horizontal'},
    'upward_heat_flux_at_ground_level_in_soil': {'value': 0., 'units': 'W m^-2', 'domain': 'land_horizontal'},
    'heat_capacity_of_soil': {'value': 2000., 'units': 'J kg^-1 degK^-1', 'domain': 'land_horizontal'},

    'sea_water_density': {'value': 1.029e3, 'units': 'kg m^-3', 'domain': 'ocean_horizontal'},
    'sea_surface_temperature': {'value': 300., 'units': 'degK', 'domain': 'ocean_horizontal'},
    'ocean_mixed_layer_thickness': {'value': 50., 'units': 'm', 'domain': 'ocean_horizontal'},

    'snow_and_ice_temperature': {'value': 270., 'units': 'degK', 'domain': 'ice_interface'},
    'heat_flux_into_sea_water_due_to_sea_ice': {'value': 0., 'units': 'W m^-2', 'domain': 'ice_horizontal'},
    'land_ice_thickness': {'value': 0., 'units': 'm', 'domain': 'ice_horizontal'},
    'sea_ice_thickness': {'value': 0., 'units': 'm', 'domain': 'ice_horizontal'},
    'surface_snow_thickness': {'value': 0., 'units': 'm', 'domain': 'ice_horizontal'},

    'solar_cycle_fraction': {'value': 0., 'units': 'dimensionless', 'domain': None},
    'flux_adjustment_for_earth_sun_distance': {'value': 1.0, 'units': 'dimensionless', 'domain': None},
    'lwe_thickness_of_soil_moisture_content': {'value': 0, 'units': 'm', 'domain': 'surface'},
    'convective_precipitation_rate': {'value': 0., 'units': 'mm day^-1', 'domain': 'surface'},
    'stratiform_precipitation_rate': {'value': 0., 'units': 'm s^-1', 'domain': 'surface'},
}

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

2 participants