Git Product home page Git Product logo

Comments (7)

AlbaraaKhayat avatar AlbaraaKhayat commented on September 9, 2024

Hello,
What is the modification to the line so that we could fix it in our implementation?
Thank you

from noahmp.

barlage avatar barlage commented on September 9, 2024

I'm still working in the non-refactored code, so this is the proposed fix. Didn't want to put in a PR until I could get something working with refactored code (don't know when that will be).

Related to this line in the non-refactored code:

HCV = parameters%CBIOM*VAIE*CWAT + CANLIQ*CWAT/DENH2O + CANICE*CICE/DENICE !j/m2/k

 ! canopy heat capacity
-        hcv = fveg*(parameters%cbiom*vaie*cwat + canliq*cwat/denh2o + canice*cice/denice) !j/m2/k
+        hcv = parameters%cbiom*vaie*cwat + canliq*cwat/denh2o + canice*cice/denice !j/m2/k

from noahmp.

cenlinhe avatar cenlinhe commented on September 9, 2024

This is indeed a bug. I will fix it in the GitHub develop and master branch as well as the version 4.5 used in WRFv4.5.

from noahmp.

cenlinhe avatar cenlinhe commented on September 9, 2024

The canopy heat storage term needs to be scaled by vegetation fraction (FVEG) because all the other heat flux terms in the energy balance calculations are scaled by FVEG.

from noahmp.

tslin2 avatar tslin2 commented on September 9, 2024

I am closing this issue based on the above discussions.

from noahmp.

barlage avatar barlage commented on September 9, 2024

@cenlinhe @tslin2 for future reference there should be a way to automatically close the issue when the PR is merged.

from noahmp.

dmocko avatar dmocko commented on September 9, 2024

I believe if you put the following in your commit message as part of the PR, the issue will automatically close when the PR is merged into the main branch:

Resolves: #[issue number]

See the example commit message here:
https://cbea.ms/git-commit/#seven-rules

from noahmp.

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.