-
Notifications
You must be signed in to change notification settings - Fork 28
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
Provide access to AOGCM tunings besides the default C4MIP_BERN #88
Comments
Pymagicc wraps the binary as provided on magicc.org. With the MAGCFG_USER.CFG files available from magicc.org you could reproduce the 171 run combinations of CMIP3/C4MIP tunings with Pymagicc. The 600 run is another tuning, constrained to historical data and using the C4MIP tunings for the Carbon Cycle I believe. See this paper: https://www.nature.com/articles/nature08017 @znicholls Thoughts on whether it would make sense to include the CMIP3/C4MIP tunings in the Pymagicc package? |
If you're interested in general in probabilistic ensembles you should also check out Pyhector and FAIR. The latter has a notebook showing a simple ensemble setup and Hector runs faster than MAGICC (due not copying around many files) and some people also worked on probablistic setups: https://github.com/bvegawe/hector_probabilistic Should also be useful to include the uncertainty from using a different model ... |
It would make sense, if we're allowed...
Hector runs faster than Pymagicc (for now...)
very wise |
Ok. Yes, as a fall back, I'd have to do all the possible combos, download all settings and subtract the likely defaults that were in user.cfg from parameters.out. That will likely work ... if the files aren't available. I haven't noticed a performance issue with MAGICC (given it's codebase age and architecture). (Native MAGICC runs my scenarios faster than VMWare can pause Windows.) pymagicc runs a tiny bit slower, but both seem to run decently. Just scanning, Hector doesn't seem as detailed compared to MAGICC. Fair looks interesting...
Note, I am running without the files copied around per pending fix to #86. |
Cool, thanks for sharing. Pymagicc is slower than MAGICC because it additionally copies a few more files around (including a copy of MAGICC and its config itself), because it seemed the easiest way to ensure that nothing get messed up. MAGICC is slow because of file IO. With Pymagicc's API you can reduce this somewhat, just copy once, run a scenario, adjust config, and repeat ... Pyhector is really faster than Pymagicc/MAGICC because all settings are set without any config file writing/reading. magicc.org is fast because results are cached I believe. On the tunings available from magicc.org, I think you could only reproduce the 171 run combination. To really reproduce the 600 run you'd have to reproduce the probabilistic calibration. The R code is in the supplement of the paper. |
Interesting... Oh sure, pymagicc is slower for the first or at most the second time, after that it's fairly quick. Under 1 second for wall clock time is decent. Unfortunately my plate is a bit full with other things for more deep dives... Just for comparison, I didn't have to wait that long for live.magicc to calculate the 600 for my 4 custom test scenarios. I don't remember exactly but it was less than an hour. |
Ah, I see, that's good to know ... |
It would be nice to provide these tunings as well, but as discussed not easy or possible. |
Hello, could anyone here could help me to know how can we reproduce the tunings for 600 probabilistic runs? The file downloaded from the website has only name and I dont know how can I extract the information from it. |
Unfortunately it's not possible as the tunings aren't publicly available, lookout for MAGICC7. |
I need to get the 5% and 95% percentile regions for 600 probabilistic runs but the auto-generation function in live.magic.org can only give me the 17, 25, 75, and 83% region. Do you have any idea how possible is it to obtain it? Adjusting different combinations of parameters is difficult for me as I have little understanding of how to make a reasonable modification of those huge parameters. Could you please give me some advice? many thanks! |
Sadly not, live.magicc.org is not something I use (otherwise we wouldn't work on Pymagicc) and I don't think you will be able to back them out as you can't get the underlying parameter sets. Perhaps you could fit some sort of distribution to the points you do have and extrapolate (although it would really be guesswork as the tails are always hard). |
It seems impossible to reproduce their works and I have to work it out by trying different parameterisation. Thank you for your advice! |
Some of the files used in the original calibration are available here: But i'd recommend waiting for the availability of MAGICC7 ... |
I don't know why I cannot access this link from my PC. If possible, could you please help me to download and send it to my email address? |
I can access the link now, thank you for your great help! |
Just to reiterate this. MAGICC6 is using input data from 2005 and MAGICC7 will be a major improvement in terms of recreating the last 15 years of observations. |
Seconded, the link is more of an explanatory illustration why this is hard (i think some files were also part of the supplementary material)! |
I have to say parameterisation is very hard to understand and over-complicated as well. I don't think I have enough knowledge about climate change to use it effectively. |
Describe the bug
live.magicc.org provides tunings for the other bench marked atmospheric-ocean general circulation models mentioned in the main MAGICC reference paper (http://www.atmos-chem-phys.net/11/1417/2011/acp-11-1417-2011.html). These tunings appear to be defined in specific files named MAGTUNE_tuningname.CFG and MAGTUNE_FULLTUNE_tuningname.cfg. They don't seem to exist in the kit delivered by pymagicc or even the windows zip from magicc.org. These files are also used to build up the data used in bulk runs.
The names of the tunings are as follows, and taken from bulk runs from live.magicc.org:
System (please complete the following information):
macOS 10.13.6, pymagicc 1.3.1
(and additionally the native Windows: windows zip file: Magicc6.801 Beta)
Additional context
Some settings are in the appendix tables for the paper mentioned above, but don't appear to match the default settings.
The text was updated successfully, but these errors were encountered: