Giter Site home page Giter Site logo

Comments (12)

rljacob avatar rljacob commented on July 17, 2024

@jgfouca your name is on those lines.

from cime.

jgfouca avatar jgfouca commented on July 17, 2024

@rljacob , strange code that I don't remember writing. Git blame does show me as the last person who touched these lines. The associated commit is:

Update CIME to ESMCI cime5.7.0 (PR #2414)
    
    Squash merge of jgfouca/branch-for-to-acme-2018-06-28
    
    Features:
    
    * Allow users to go up through the setup phase on non-local machines
    * Documentation updates
    
    Bug fixes:
    
    * fix issue with e3sm mali file archiving
    * Use ConfigParser rather than SafeConfigParser
    * Fix for passing run arguments in LSF
    
    Fixes #2393
    Fixes #2390
    
    [BFB]

So this commit was just a bulk of changes being synced, not stuff really authored by me.

It's possible @jedwards4b knows the reason for this.

from cime.

rljacob avatar rljacob commented on July 17, 2024

Oh I forgot we can't trust gitblame during the subtree era.

from cime.

jgfouca avatar jgfouca commented on July 17, 2024

Yeah, the subtree era mucked-up the git histories of both E3SM and CIME.

from cime.

jgfouca avatar jgfouca commented on July 17, 2024

Thinking about it some more, it seems like this bullet must be the reason:

* fix issue with e3sm mali file archiving

from cime.

github-actions avatar github-actions commented on July 17, 2024

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days.

from cime.

jgfouca avatar jgfouca commented on July 17, 2024

@jedwards4b , any recollection of the "ww" stuff?

from cime.

jedwards4b avatar jedwards4b commented on July 17, 2024

We have ww3 and wwdev and this is intended to match either. I don't think that there is an archiving issue with ww3 in cesm.

from cime.

jgfouca avatar jgfouca commented on July 17, 2024

Thanks, @jedwards4b . So this is likely an issue with an E3SM XML file. I've assigned @jasonb5

from cime.

jasonb5 avatar jasonb5 commented on July 17, 2024
1173    for comp in list(components):
1174        compname = self.get_value("COMP_{}".format(comp))
...
1186         comp_expected = archive.get(comp_archive_spec, "compname")
1187         if comp_expected == "ww3":
1188             comp_expected = "ww"
...
1201            expect(
1202                comp_expected in comps_in_case,
1203               "env_archive defines component {} not defined in case".format(

After some investigating I found a CESM test (PET.f19_g17_rx1.2000_DATM%NYF_SLND_CICE5_POP2_DROF%NYF_SGLC_WW3) that I could trace to understand what's happening. When this code runs for CESM the case's compname is ww and the archive compname is ww3 so the code in question handles that difference. For E3SM we don't need this between the compnames match.

I'll add a comment for the future and bypass this for E3SM.

from cime.

jgfouca avatar jgfouca commented on July 17, 2024

Thanks, @jasonb5 !

from cime.

rljacob avatar rljacob commented on July 17, 2024

When this code runs for CESM the case's compname is ww and the archive compname is ww3
@jedwards4b can that difference be removed so we don't need this code at all?

from cime.

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.