Giter Club home page Giter Club logo

Comments (5)

msulprizio avatar msulprizio commented on May 16, 2024

The calculations for MCF and CH4 lifetimes require the time-in-troposphere diagnostic output from GEOS-Chem. This is currently only saved out to bpch diagnostics and needs to be implemented in History. @yantosca is working on that now.

from gcpy.

yantosca avatar yantosca commented on May 16, 2024

The time in troposphere netCDF diagnostic is now implemented in commit geoschem/geos-chem@c01871c.

A 1-day zonal mean of ND54 (bpch) vs. FracOfTimeInTrop (netCDF) looks like this:
timeintrop

from gcpy.

msulprizio avatar msulprizio commented on May 16, 2024

This is now pushed in 509cb4f.

We still need to apply fraction of time in troposphere to calculation to include only purely tropospheric boxes. This will be added once the 12.6.0 1-month benchmark with the new FracOfTimeInTrop diagnostic is available.

from gcpy.

msulprizio avatar msulprizio commented on May 16, 2024

This calculation now also works for GCHP but the values are off. For example,

### Global mass-weighted OH concentration [1e5 molec/cm3]                   ###
### Ref = GC_12.6.0; Dev = GCHP_12.6.0                                      ###
###############################################################################
  Ref          Dev          Dev - Ref    % diff     
  12.213840    60.125135    47.911295   392.2705

###############################################################################
### MCF lifetime w/r/t tropospheric OH [years]                              ###
### Ref = GC_12.6.0; Dev = GCHP_12.6.0                                      ###
###############################################################################
  Ref          Dev          Dev - Ref    % diff     
   5.339524     0.000000     0.000000     0.0000

###############################################################################
### CH4 lifetime w/r/t tropospheric OH [years]                              ###
### Ref = GC_12.6.0; Dev = GCHP_12.6.0                                      ###
###############################################################################
  Ref          Dev          Dev - Ref    % diff     
   8.980075     0.000000     0.000000     0.0000

Further investigation is required.

from gcpy.

yantosca avatar yantosca commented on May 16, 2024

We should probably implement this as a HISTORY diagnostic in GEOS-Chem, so that we can obtain the output for GCHP as well. This is documented in GEOS-Chem pull request https://github.com/geoschem/geos-chem/242.

As a stopgap measure, I also have implemented a GCPy function (mean_oh_from_logs.py) to strip the 1-year mean OH from the log files and to print them. But this will not work for GCHP.

I will close out this issue, as it seems that further work will need to be done as a GEOS-Chem diagnostic as described in the issue above.

from gcpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.