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

Rerunning simulations leads to a lot of warnings about diagnostics #955

Open
Sbozzolo opened this issue Dec 13, 2024 · 0 comments
Open

Rerunning simulations leads to a lot of warnings about diagnostics #955

Sbozzolo opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Sbozzolo
Copy link
Member

We should add a better check to avoid printing all these warnings:

┌ Warning: overwriting diagnostic `trans` entry containing fields
│ ("trans", "Canopy Transpiration", "canopy_transpiration", "m s^-1", "The water evaporated from the canopy due to leaf transpiration (flux of water volume, m^3 of water per m^2 of ground).")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `clhf` entry containing fields
│ ("clhf", "Canopy Latent Heat Flux", "canopy_latent_heat_flux", "W m^-2", "The energy used for canopy transpiration.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `cshf` entry containing fields
│ ("cshf", "Canopy Sensible Heat Flux", "canopy_sensible_heat_flux", "W m^-2", "The energy used for canopy temperature change.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `far` entry containing fields
│ ("far", "Root flux per ground area", "root_flux_per_ground_area", "m s^-1", "Flux of water volume per m^2 of root per second, multiplied by the area index (root area/ground area).")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `lai` entry containing fields
│ ("lai", "Leaf area Index", "leaf_area_index", "m^2 m^-2", "The area index of leaves, expressed in surface area of leaves per surface area of ground.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `msf` entry containing fields
│ ("msf", "Moisture Stress Factor", "moisture_stress_factor", "", "Sensitivity of plants conductance to soil water content. Unitless")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `rai` entry containing fields
│ ("rai", "Root area Index", "root_area_index", "m^2 m^-2", "The area index of roots, expressed in surface area of roots per surface area of ground.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `sai` entry containing fields
│ ("sai", "Stem area Index", "stem_area_index", "m^2 m^-2", "The area index of stems, expressed in surface area of stems per surface area of ground.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `gpp` entry containing fields
│ ("gpp", "Gross Primary Productivity", "gross_primary_productivity", "mol CO2 m^-2 s^-1", "Net photosynthesis (carbon assimilation) of the canopy. This is equivalent to leaf net assimilation scaled to the canopy level.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `an` entry containing fields
│ ("an", "Leaf Net Photosynthesis", "leaf_net_photosynthesis", "mol CO2 m^-2 s^-1", "Net photosynthesis (carbon assimilation) of a leaf, computed for example by the Farquhar model.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `rd` entry containing fields
│ ("rd", "Leaf Respiration", "leaf_dark_respiration", "mol CO2 m^-2 s^-1", "Leaf respiration, called dark respiration because usually measured in the abscence of radiation.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `vcmax25` entry containing fields
│ ("vcmax25", "Vcmax25", "vcmax25", "mol CO2 m^-2 s^-1", "The parameter vcmax at 25 degree celsius. Important for the Farquhar model of leaf photosynthesis.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `nir` entry containing fields
│ ("nir", "Near Infrared Radiation", "near_infrared_radiation", "mol photons m^-2 s^-1", "The amount of near infrared radiation reaching the canopy.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `anir` entry containing fields
│ ("anir", "Absorbed Near Infrared Radiation", "absorbed_near_infrared_radiation", "mol photons m^-2 s^-1", "The amount of near infrared radiation absorbed by the canopy.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `rnir` entry containing fields
│ ("rnir", "Reflected Near Infrared Radiation", "reflected_near_infrared_radiation", "mol photons m^-2 s^-1", "The amount of near infrared radiation reflected by the canopy.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `tnir` entry containing fields
│ ("tnir", "Transmitted Near Infrared Radiation", "transmitted_near_infrared_radiation", "mol photons m^-2 s^-1", "The amount of near infrared radiation transmitted by the canopy.")└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `par` entry containing fields
│ ("par", "Photosynthetically Active Radiation", "photosynthetically_active_radiation", "mol photons m^-2 s^-1", "The subset of total radiation that activates photosynthesis reaching the canopy.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `apar` entry containing fields
│ ("apar", "Absorbed Photosynthetically Active Radiation", "absorbed_photosynthetically_active_radiation", "mol photons m^-2 s^-1", "The amount of photosynthetically active radiation absorbed by the leaf. The rest if reflected or transmitted.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `rpar` entry containing fields
│ ("rpar", "Reflected Photosynthetically Active Radiation", "reflected_photosynthetically_active_radiation", "mol photons m^-2 s^-1", "The amount of photosynthetically active radiation reflected by leaves.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `tpar` entry containing fields
│ ("tpar", "Transmitted Photosynthetically Active Radiation", "transmitted_photosynthetically_active_radiation", "mol photons m^-2 s^-1", "The amount of photosynthetically active radiation transmitted by leaves.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `lwn` entry containing fields
│ ("lwn", "Net Longwave Radiation", "net_longwave_radiation", "W m^-2", "The net (down minus up) longwave radiation at the surface.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `swn` entry containing fields
│ ("swn", "Net Shortwave Radiation", "net_shortwave_radiation", "W m^-2", "The net (down minus up) shortwave radiation at the surface.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `soc` entry containing fields
│ ("soc", "Soil organic carbon", "soil_organic_carbon", "kg C m^-3", "Mass of organic carbon per volume of soil. (depth resolved)")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `airp` entry containing fields
│ ("airp", "Air pressure", "air_pressure", "Pa", "The air pressure.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `rain` entry containing fields
│ ("rain", "Rainfall", "rainfall", "m s^-1", "Precipitation of liquid water volume (m^3 of water per m^2 of ground per second).")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `lwd` entry containing fields
│ ("lwd", "Down Longwave Radiation", "down_longwave_radiation", "W m^-2", "The downwelling longwave radiation at the surface.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `swd` entry containing fields
│ ("swd", "Short Longwave Radiation", "short_longwave_radiation", "W m^-2", "The downwelling shortwave radiation at the surface.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `snow` entry containing fields
│ ("snow", "Snowfall", "snowfall", "m s^-1", "The precipitation of snow in liquid water volume (m^3 of water per m^2 of ground per second).")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `sza` entry containing fields
│ ("sza", "Solar Zenith Angle", "solar_zenith_angle", "", "Solar zenith angle.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `qsfc` entry containing fields
│ ("qsfc", "Surface Specific Humidity", "surface_specific_humidity", "", "Ratio of water vapor mass to total moist air parcel mass.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `ws` entry containing fields
│ ("ws", "Wind Speed", "wind_speed", "m s^-1", "The average wind speed.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `infil` entry containing fields
│ ("infil", "Infiltration", "infiltration", "m s^-1", "The flux of liquid water volume into the soil (m^3 of water per m^2 of ground per second).")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `salb` entry containing fields
│ ("salb", "Soil Albedo", "surface albedo", "", "The mean of PAR and NIR albedo, which are calculated as α_soil_band = α_band_dry * (1 - S_e) + α_band_wet * S_e.")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
┌ Warning: overwriting diagnostic `shc` entry containing fields
│ ("shc", "Soil Hydraulic Conductivity", "soil_hydraulic_conductivity", "m s^-1", "Soil hydraulic conductivity. (depth resolved)")
└ @ ClimaLand.Diagnostics ~/ClimaLand.jl/src/diagnostics/diagnostic.jl:60
@Sbozzolo Sbozzolo added the bug Something isn't working label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant