Comments (8)
Good point. These examples assume that you have a run_tests.py
script ...
Not sure what the best example is.
We could just use
make test
Would that work?
#!/bin/bash
export MAGICC_EXECUTABLE_7=tmp/magicc/run/magicc.exe
make test
from pymagicc.
This works. The virtual environment is successfully built. I then arrive at #92.
make test
is kind of big and probably intimidating for some. How did the run_tests.py
look like?
There are people who know python, but not make.
from pymagicc.
I think these were meant as examples similar to filenames in the main MAGICC dev repo. There is at least a generate_plots.py
script there.
We could have simple example scripts for testing in the Pymagicc repo.
from pymagicc.
I'm against having a Python run_tests.py
, unless all it does is call make test
. Having the test in multiple places will be a nightmare re maintenance and debugging I fear...
from pymagicc.
Yes, we should find a workable example for the Readme, maybe the generate_plots.py
which should run. Just to ensure that it works in principle. Or even better, a simple script which just prints the MAGICC version
.
from pymagicc.
isn't this what the notebooks are for?
from pymagicc.
Could just be a simple script that enables you to check (or debug someone else's setup) whether the environment var works.
from pymagicc.
Could just be a simple script that enables you to check (or debug someone else's setup) whether the environment var works.
Alright. I don't like the duplication but I can see why it's worth it.
from pymagicc.
Related Issues (20)
- Move e.g. `diagnose_tcr_ecs_tcre` method out of core
- Update URLs
- Fix Windows CI HOT 9
- Switch to ScmRun
- Raise exception for certain log message level
- Use ScmRun's metadata handling
- Switch to RCMIP names
- Document MAGICC's input and output formats more carefully
- Install broken with Pandas 1.2 HOT 4
- License change HOT 7
- increase GHG response outside of scen HOT 21
- f90nml 1.3 HOT 6
- Fix citation.cff file
- README contradicts itself regarding licensing HOT 1
- pymagicc.run of MAGICC7 isn't generating dat_*.out HOT 3
- How to get the probabilistic distrubution of 600 runs?
- Adapt the mapping for DAT_SURFACE_TEMP towards 'Surface Air Temperature Change' HOT 2
- Unable to run on up-to-date Mac HOT 3
- error in pymagicc.run using magicc7 HOT 2
- Upgrade to pandas 2.0
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 pymagicc.