-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update BLAZE in CABLE-POP_TRENDY #392
Comments
There are around 3 elements to this issue
Part 3 intersects with the BIOS merge work #281 since two of the inputs are |
@abhaasgoyal For the moment I think that this simplest way forward is to not include these layers in the gridinfo file, create additional BLAZE netCDF input files for them, and then read them in via a new subroutine via a nearest neighbour search (similar to the GFED data read). |
@juergenknauer @ccarouge @Whyborn @AlisonBennett a bit of advice please. I've been using github to look at the differences between NESP_2pt9_BLAZE and a CABLE-POP_TRENDY branch in order to map out (in a bit more detail) what would be needed to update BLAZE (and hence make it available for Australia and global testing under @juergenknauer efficient run environment). I'm now confused as to the status of the CABLE-POP_TRENDY branches - in that there appears to be code that I/Alison copied/took from CABLE_POP-TRENDY and placed into the NESP branches (e.g. anything to do with My idea originally was to create a development branch off CABLE-POP_TRENDY (or perhaps CABLE-POP_TRENDY_LUC_bug) and bring the BLAZE related code up to date (and then work on rewriting the inputs code sections) ... but these differences lead me to question the status of these branches. So which CABLE-POP_TRENDY branch would be the appropriate branch to start with? I note there is also a lot of typesetting changes between the NESP and POP_TRENDY branches - with the POP_TRENDY being (I thought) less in line with UKMO coding standards. |
Parts of the codebase that need 'merging' to facilitate BLAZE in CABLE-POP_TRENDY (only focusing on the serial version of the code)
We will also need to update/add routines to read in |
@har917 CABLE-POP_TRENDY is the main branch that should contain all the latest science developments that are tested and working. For example, I branched off CABLE-POP_TRENDY_LUC_bug to fix the constant crop fraction issue. After that work was completed (and test runs successful), I merged it back into the 'main' CABLE-POP_TRENDY branch. I thought it would be a good idea if you could do the same with the fire development. Is there anything in particular that should or should not be in the CABLE-POP_TRENDY branch? |
@juergenknauer If you look at the differences in the draft PR linked above you get a whole stack of differences which don't make sense (given my understanding of the history of the developments). Closer inspection of the actual code indicates that many of these differences are not really true. However, a bit more digging indicates that my issue arises because that github produces three dot (...) differences (so differences since the last common point of the two branches) by default, not two dot (..) differences. i.e. this is down to me not understanding github Now forcing github to come up with two dot differences produces an even scarier list - but a step forward at least. However these wide spread differences mean that testing is going to be difficult/near impossible since I can't create known good output from a branch which has all the CABLE-POP_TRENDY science. |
In answer to your specific question - we do need to pull the code to output Potential Evaporation across from NESP/MAIN into CABLE-POP_TRENDY at some point. |
CABLE-POP_TRENDY is definitely the branch that you should branch off. We're treating this as the "main" branch for the POP/LUC developments of the code (can maybe think of it as the 2nd trunk). I can't say much on the "missing" bits of code, other than I think it's probably best not manually pull code across branches. I'm taking a browse through the diffs and it looks like there are some blocks unrelated to BLAZE that are included in NESP2pt9 and not in CABLE-POP_TRENDY. I would lean towards removing this blocks? Which formatting standards are these? We have some coding standards here, which are based on the JULES standards. |
@juergenknauer a side note, does that mean the existing CABLE-POP_TRENDY_LUC_bug branch can now be deleted? Or are there still bits there you need to keep? |
@Whyborn There is a set of changes necessary to correct and get the There are also other changes that have made there way into MAIN which would be useful to have in POP_TRENDY prior to the creation of CABLE4 - e.g. lakes fix, screen Tq fix etc. |
These changes for the These changes should be achieved by the merging of POP_TRENDY into main, rather than the other way around. If we try to cherry pick changes from main into POP_TRENDY (either through git or manually), I think it will make the eventual merge of the whole branch back into main more difficult. If they are so crucial that the changes can't wait for this major merge, then people can open pull requests to merge these fixes into POP_TRENDY, but it feels like it could be a bit of wasted work. |
@Whyborn yes, that branch is not needed any more. I can try and remove it. |
Looks like I have deleted it. |
Created development branch cable-pop_trendy_blaze from CABLE-POP_TRENDY for this work. |
BLAZE requires additional input files - specifically modis_igbp and AvgAnnMaxFAPAR (and HYDE human population density data). For the working BIOS-configuration (as per BLAZE_9184 and NESP_2pt9_BLAZE) these data were processed and converted into .bin files. I have developed (hopefully) equivalent input at 0.25 degrees, global in netCDF format and placed in NB we need to sort out permissions on some of the directories in |
These will be incorporated via a separate input file - see CABLE-LSM/CABLE#392 for more details.
These will be incorporated via a separate input file - see CABLE-LSM/CABLE#392 for more details.
Which directories need permissions updated?
…________________________________
From: har917 ***@***.***>
Sent: Thursday, 17 October 2024 15:53
To: CABLE-LSM/CABLE ***@***.***>
Cc: Bennett, Alison (Environment, Aspendale) ***@***.***>; Mention ***@***.***>
Subject: Re: [CABLE-LSM/CABLE] Update BLAZE in CABLE-POP_TRENDY (Issue #392)
BLAZE requires additional input files - specifically modis_igbp and AvgAnnMaxFAPAR.
For the working BIOS-configuration (on BLAZE_9184 and NESP_2pt9_BLAZE) these data were developed and converted into .bin files. I have developed (hopefully) equivalent input at 0.25 degrees, global in netCDF format and placed in /g/data/x45/Data_BLAZE2/ (alongside copies of the other inputs which are already in nc format e.g. the HYDE3.1 data).
NB we need to sort out permissions on some of the directories in /g/data/x45 as they are group read but not group write.
—
Reply to this email directly, view it on GitHub<#392 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIL5VYUMVMO63KO7WTXOXHTZ347EJAVCNFSM6AAAAABNX4C4BSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJYGQ4TKMJXHA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
It looks like every directory created by most people (especially Peter) has defaulted to |
Should we log a ticket with NCI to see if we can change the ownership of directories from Peter to someone else (ie. you?)
…________________________________
From: har917 ***@***.***>
Sent: Friday, 25 October 2024 20:57
To: CABLE-LSM/CABLE ***@***.***>
Cc: Bennett, Alison (Environment, Aspendale) ***@***.***>; Mention ***@***.***>
Subject: Re: [CABLE-LSM/CABLE] Update BLAZE in CABLE-POP_TRENDY (Issue #392)
It looks like every directory created by most people (especially Peter) has defaulted to rwxr-sr-- - which means e.g. that we can't add new datasets into the Data_BLAZE directory (and hence why there's now a Data_BLAZE2 to include the netCDF versions of some of the inputs)
—
Reply to this email directly, view it on GitHub<#392 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIL5VYQLNVUJ6VDEH6Q75YLZ5IIZNAVCNFSM6AAAAABNX4C4BSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZXGM3TOOJXGY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
cable-pop_trendy_blaze branch will run BIOS ACT9 config with BLAZE on working as Ian expects. Needs to run a 1000 pts config. with a full-length spinup. Missing:
Should not run BLAZE during the spinup otherwise we will burn all the small trees. Problem is when BLAZE is off, the restart might not have the variables BLAZE expects. |
Need to add routines to read in the |
Is there a problem with turning on BLAZE from the start with burning all the trees? @har917 to investigate with Lars. |
New BLAZE developments in branch BLAZE_9184. It might be fine to put these in at the end but need to keep track of them. |
Update BLAZE into CABLE-POP_TRENDY branch from the NESP2pt9_BLAZE branch.
Needs some clean up of the BLAZE code when merging the new functionality.
The text was updated successfully, but these errors were encountered: