Ask Your Question

Is sage the right tool for modeling soil and climate systems?

asked 2013-09-24 13:03:09 +0200

anonymous user


I'm building a model of the nitrogen cycle in soil which will evaluate a farms nitrogen supply based on farm parameters and climatic conditions, is sage a good application to build a model like this which can be run across 1000s of farmers at a time?

If not are there applications or programming languages which would be more suitable?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-09-24 13:42:35 +0200

kcrisman gravatar image

This is a "soft" question, so I'll give a "soft" answer.

Python is a very flexible programming language, especially for prototyping, and Sage has the built-in tools to do a lot of modeling stuff. My suggestion would be to

  1. Use Sage normally just to get yourself running with your model
  2. Decide whether you need Sage or can stick with the Python/Numpy/Scipy/Matplotlib stack, which will reduce on some overhead
  3. If needed, see if there are inefficiencies in your code by doing some profiling and perhaps using Cython to speed up any calculations you have to.

My guess is there is no reason you have to leave the Python/Sage world, but depending on exactly what you want to do (especially if you are mixing Scipy and GSL diffeq solvers) you may want to stick with the Sage environment.

Sage does not have some of the graphical interfaces for complex situations that some modeling software offers of a drag-and-drop variety. I don't know that I view that as a negative, as it means you have to actually understand your model and not just take what the package gives you, but different problems require different tools.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-09-24 13:03:09 +0200

Seen: 168 times

Last updated: Sep 24 '13