Skip to content

qiaoyuhong1992/calpuff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CALPUFF

GNU-Compilation of the CALPUFF modeling system + sample run.

DISCLAMER: The official source code of CALPUFF and it's pre/post-processors has been developed and is manteined by scientists at Exponent, Inc. This repository is a tool to easily compile calpuff and run it on a UNIX environment using a GNU-compiler.

Dependencies:

To build it:

  • gfortran
  • make
  • netcdf library (> 4.4.0) (optional: needed only by CALWRF)

To run it:

  • python
  • gdal
  • awk

How to build

Just enter to the src/ directory:

cd src/

Edit the variables inside the Makefile file according to your environment, and then execute make:

make

If the compilation is succesfull, you should see the executables in the exe/ directory.

Build CALWRF:

First please check you have NetCDF installed on your personal computer or cluster before.

which nc-config

If you want to use a locally installed NetCDF library, add the paths to the environment variables:

export PATH=$PATH:/path/to/your/netcdf/bin
export LD_LIBRARY_PATH=$PATH:/path/to/your/netcdf/lib

In order to build CALWRF execute the following command inside the src/ directory:

make calwrf

The calwrf executable will be placed in the exe/ directory if compilation was succesfull.

How to run:

Sample runs have been placed in the runs/ folder, please read the readme.md inside it.

About

CALPUFF v5.8.5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Fortran 95.4%
  • Shell 4.0%
  • Other 0.6%