Skip to content

tjc181/simsphere

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Status codecov

Simsphere

Welcome to the model Simsphere, a state-of-the art Soil-Vegetation-Atmosphere Transfer (SVAT) model for use by the general scientific community. Simsphere is the product of 30 years of continuous experience and utilization by Toby Carlson and his students at Penn State. Simsphere is a one-dimensional model that allows one to simulate the transfer of heat and moisture between plants, soil and atmosphere over a 24 hour day.

Extensive information about the model is available at https://simsphere.ems.psu.edu .

Mailing list

Consider subscribing to the mailing list SIMSPHERE-L@lists.psu.edu. To subscribe, send email to listserv@lists.psu.edu. The message body must contain the subscribe command and the list name; you may optionally include your name following list name on the same line.

SUBSCRIBE SIMSPHERE-L

or with optional name

SUBSCRIBE SIMSPHERE-L Jane Smith

Fortran implementation

This is an updated version of the original Fortran implementation. The goals for this update include:

  • Fortran 2008 compliant code with free-form source formatting.
  • Full Implementation of unit tests.
  • Restructuring of code to eliminate COMMON blocks in favor of modules.
  • Reduce (or eliminate!) use of GO TO and DATA statements.
  • Implement data structures to simplify passing arguments to routines, reduce global variables.
  • Aspire to rework subroutines with pure function calls.

Building the code

You will need a Fortran 2008 compiler and CMake. The code is currently being developed using gfortran 7.3.0. Please see the Getting Started guide for additional instructions.

Unix:

Clone the repository and execute the include build script:

git clone https://github.com/tjc181/simsphere
cd simsphere
scripts/build.sh

Windows:

  1. Install msys64 from https://www.msys2.org . Start the MSYS2 MinGW 64-bit shell to install the development tools with commands:
pacman --needed -S base-devel mingw-w64-x86_64-gcc mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake git
  1. Within the MSYS2 MinGW 64-bit shell, clone the Git repository:
git clone https://github.com/tjc181/simsphere
  1. Within the cloned repository, execute the build script to build the model code and execute the test suite:
cd simpshere
scripts/build.sh