Comments (7)
Hi @ponraj1,
The error you are getting often means that the model is somewhere dividing by zero.
What branch/version number are you running? I think we've fixed a few of these types of errors recently. You might try pulling a more recent version to see if the error is still persistent.
Also, have you tried using a debugger (see e.g. https://cs.baylor.edu/~donahoo/tools/gdb/tutorial.html) to set a breakpoint at on line 621 of ETPHR.for? You could then inspect the values of the variables on that line and determine which values are problematic.
from dssat-csm-os.
Hi @palderman Thanks a lot for getting back to me. I am using version 4.7.5.042. I will try to find the bug using the debugger which you mentioned.
from dssat-csm-os.
Hi @palderman, I think the error happened because of the methods chosen in the model for Photosynthesis (Leaf PhotoSynthesis response curve - hourly). I have tried changing to the Canopy curve (daily), it worked.
However, this error is happening only with forage crops. It might need a check with the forage crops photosynthesis module.
Thanks for supporting me to solve the issue.
Best, Ponraj
from dssat-csm-os.
Hi @ponraj1 , were you able to run the model with a debugger? It would be helpful to know what variable is the source of the issue. Looking at the line 621 of ETPHR.for for version v4.7.42 it seems like LFMAX might be the culprit:
Line 621 in 3ccad41
You might also check the value for LFMAX for the cultivar you are using.
I believe the canopy photosynthesis option for the forage model is less well tested than the leaf level option. Just keep that in mind as you proceed. @chporter, would you agree with that?
from dssat-csm-os.
@palderman , yes I think that the forage modelers are using the leaf level option.
The current CSM v4.8 has already fixed this issue. I'm looping in @fabiooliveira72, who can verify.
from dssat-csm-os.
Hi @chporter and @palderman, I will verify this. Thank you
from dssat-csm-os.
Hi @ponraj1!
I would like to know if you still have this problem.
I checked this issue with PGLEAF and it was already fixed with this commit:
8dc7c73
&&
2c5eabb
Version v4.8.0.10 was correct this issue.
We are closing this issue on Friday.
Thank you,
Fabio Oliveira
from dssat-csm-os.
Related Issues (20)
- Negative RADSH HOT 2
- Confusing calculation of CMINESR vs CMINERT in FOR_SENMOB()
- Test Issue
- Environmental modifications with sequence mode
- Check Weather Method and RUNMODE for existing weather files (IPEXP subroutine)
- Temperature modification link to TAV HOT 1
- MZCER048.ECO fails running for multiple treatments on SEAS project HOT 1
- ch4 output of version 4.8 is 0 HOT 1
- 4-digit weather file - strange behavior HOT 1
- PMFRAC is spammed for GET functions in WARNING.OUT
- about several parameters related to the methane model
- Runtime error to generate .CSV output in OPSOMLIT_C.for
- Starting simulation Date (SDATE) issue when running in batch file mode HOT 1
- Could not locate error file: ./MODEL.ERR HOT 1
- Avoid having TRNU .EQ. 0.0 statements
- Soil N initialization needs Soil Temperature HOT 2
- 2D - raised bed with no plastic mulch
- Calibration of the average daily photosynthetic conversion efficiency RUE for CERES-Rice HOT 3
- how to run GenCalc ? code does not seem to be available in dssat-csm-os HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dssat-csm-os.