ColRadPy icon indicating copy to clipboard operation
ColRadPy copied to clipboard

Error in `populating_lvls_example.py`

Open s-rathi opened this issue 1 year ago • 0 comments

In the code section corresponding to plotting the populating fraction from the ground versus temperature in the file populating_lvls_example.py, there appears to be a misunderstanding regarding the definition of level 1. If I correctly understand, the index should be, be.data['processed']['pop_lvl'][1,1,0,:,0]/np.sum(be.data['processed']['pop_lvl'][ 1,:,0,:,0], axis=0)) instead of be.data['processed']['pop_lvl][10,10,0,:,0]/np.sum(be.data['processed']['pop_lvl'][10,:,0,:,0], axis=0)).

I believe the latter refers to level number 10 instead of level number 1. I might be wrong in understanding. A clarification on this is needed.

s-rathi avatar Dec 05 '23 15:12 s-rathi