-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible typo in topsoil function #13
Comments
I'm wondering if these depth levels might be different from what the model outputs. Based on what you say and assuming these values are defined at the centre of the level, then you wouldn't even need to use the 3rd level at all. |
I've been basing the depths on this function in APP4:
I might not have interpreted it correctly, but my understanding from this is that 0.022, 0.08, and 0.234 would be the bottom of the first three levels. Good question about what depths the model is actually using though. All I've been able to find in the output is a I have heard some different values for the soil depths elsewhere (access hive and Kowalczyk et. al. 2013). I'd assumed that possibly APP4 was using a more recent version of the depths, but it would be good to confirm this. |
So if those values are the bottom of the last level you are correct that should be 0.1298.. as it's 2 cm in the first 10 cm divided by the 15.4 cm total thickness of the layer |
Hi Spencer, |
Thanks Chloe and Paola, If it would be useful I could run the two versions of the calculation on the runs I'm working with (30 members of AMIP style runs) to see what the errors look like? |
Yes that would be fantastic! |
I'll try and upload the results early next week! |
Hi Spencer, At this point, I'm thinking it would be easiest to just retract mrsos (the only variable that uses topsoil()), and issue an errata with a description of the issue (perhaps some plots, or just a summary), and the correct calculation (I think mrsol could be used by data users to recalculate mrsos?). Linear trends would be helpful and add to the errata if that's easy for you. Thoughts? |
Hi Spencer,
Thank you so much for this analysis!
Very interesting that the difference is relatively consistent at a ~20% loss, but with variation both spatially and between ensemble members.
I think this is tonnes to make an errata from, the process of which I have initiated. I will draft up an errata and run it by you 🙂
Dr Chloe Mackallah (she/her)
Climate Data Scientist
Environment | CSIRO
***@***.******@***.***> | 03 9239 4455
I live in Naarm, the traditional lands of the Kulin Nation, a collective of five Aboriginal clans: Wurundjeri, Boonwurrung, Wathaurrung, Taungurung and Dja DjaWrung.
107 - 121 Station Street, Aspendale VIC 3195, Australia
CSIRO acknowledges the Traditional Owners of the land, sea and waters, of the area that we live and work on across Australia. We acknowledge their continuing connection to their culture and we pay our respects to their Elders past and present.
The information contained in this email may be confidential or privileged. Any unauthorised use or disclosure is prohibited. If you have received this email in error, please delete it immediately and notify the sender by return email. Thank you. To the extent permitted by law, CSIRO does not represent, warrant and/or guarantee that the integrity of this communication has been maintained or that the communication is free of errors, virus, interception or interference.
Please note, if I send you an email outside reasonable work hours I’m doing so because it’s convenient for me. In the spirit of encouraging work life balance I look forward to a response if appropriate at a time that suits you.
CSIRO Australia’s National Science Agency | csiro.au
…________________________________
From: Spencer Wong ***@***.***>
Sent: Wednesday, November 1, 2023 00:37
To: ACCESS-Hive/APP4 ***@***.***>
Cc: Mackallah, Chloe (Environment, Aspendale) ***@***.***>; Comment ***@***.***>
Subject: Re: [ACCESS-Hive/APP4] Possible typo in topsoil function (Issue #13)
Hi Chloe,
Apologies for the delay in getting back to you on this! I think that sounds like a good plan. Do you know if mrsol was provided with the rest of the cmip fields? In some of the runs I've looked in the past I haven't seen it come up.
I finally got around to looking at those trends. I thought it might make sense to look at each of the three SST forcings separately, each with 10 members.
The following show the ensemble mean annual trends for the corrected mrsos on the left, and the difference between the uncorrected and corrected versions on the right:
[download]<https://user-images.githubusercontent.com/88933912/279381891-078fa0f8-03c4-4edb-9890-9557977fab20.png>
[download-1]<https://user-images.githubusercontent.com/88933912/279381856-03ac2b4d-71e0-47c7-afd0-c7d96d9f4b27.png>
[download-2]<https://user-images.githubusercontent.com/88933912/279381878-5a8af769-a79d-4310-aebe-432a91b8cddc.png>
When the corrected trend is positive, the uncorrected trend seems to be not positive enough, and when the corrected trend is negative, the uncorrected one seems to be not negative enough. Checking the difference in magnitudes, the uncorrected trend nearly always has too small a magnitude:
[https://user-images.githubusercontent.com/88933912/279383376-50960500-14fa-421d-a9b2-65ba5e0c0e35.png]<https://user-images.githubusercontent.com/88933912/279383376-50960500-14fa-421d-a9b2-65ba5e0c0e35.png> [https://user-images.githubusercontent.com/88933912/279383381-36157b67-ba4c-4ee6-b957-5071391d9721.png] <https://user-images.githubusercontent.com/88933912/279383381-36157b67-ba4c-4ee6-b957-5071391d9721.png> [https://user-images.githubusercontent.com/88933912/279383384-66c61e63-6641-42da-906d-6f94868fc49f.png] <https://user-images.githubusercontent.com/88933912/279383384-66c61e63-6641-42da-906d-6f94868fc49f.png>
It's looking like the uncorrected trends are generally scaled down compared to the corrected ones.
In terms of percentage errors, I tried calculating the differences in ensemble mean uncorrected and corrected trends, divided by the ensemble mean trend. The results look a little strange, so I'm hoping I haven't made any errors in my calculation:
[https://user-images.githubusercontent.com/88933912/279391000-6113316f-75a3-4ea1-836d-1bbc01e5aa3a.png]<https://user-images.githubusercontent.com/88933912/279391000-6113316f-75a3-4ea1-836d-1bbc01e5aa3a.png>
[https://user-images.githubusercontent.com/88933912/279391019-2da861f1-c0de-488e-88fe-a3af7ba56be2.png]<https://user-images.githubusercontent.com/88933912/279391019-2da861f1-c0de-488e-88fe-a3af7ba56be2.png>
[https://user-images.githubusercontent.com/88933912/279391025-40120526-6371-4158-85ba-e90f0531d135.png]<https://user-images.githubusercontent.com/88933912/279391025-40120526-6371-4158-85ba-e90f0531d135.png>
There are scattered very high values (eg ~11000), which I think occur when the correct trend is very small (I'll try to check this a bit further), but apart from that, I'm surprised how flat these plots are. In a lot of places, it seems very much like the uncorrected trend ≈ 0.8 * the correct trend.
Let me know if you think there's any thing worth looking a bit more into, or making plots of.
Cheers,
Spencer
—
Reply to this email directly, view it on GitHub<#13 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALMOGB3DW4CPIB6LUPAI7DTYCD5KNAVCNFSM6AAAAAA544NOO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBXGIZTMOJVG4>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Hi everyone,
I'm hoping to replicate the calculation of the top 10cm soil moisture mrsos that APP4 does for some runs of ESM1.5, which I believe is done using the
topsoil
function inapp_functions.py
:Based on the soil depths of 0.022, 0.08, 0.234, 0.643, 1.728, and 4.6m from the
cableSoilLevels
function, I'm wondering whether the.012987
should instead be0.12987
?Many thanks,
Spencer
The text was updated successfully, but these errors were encountered: