Skip to content

Releases: PecanProject/pecan

PEcAn 1.3.7 : better model support

09 Sep 19:10
Compare
Choose a tag to compare

DOI

Overview

This version supports new model types better. BETY now allows to add new model types to the database. You can associate these model types with PFT's. Each model type will have a list of required and optional inputs associated. These inputs will be listed in <run><inputs> tag.

As always the latest VM can be downloaded from http://isda.ncsa.illinois.edu/download/index.php?project=PEcAn&sort=version

Support for DALEC

A new model has been added to this release, DALEC. BETY already has a modeltype DALEC in the database to support this model.

pecan.xml Changes

Using the new modeltypes we can now check the inputs specified in the pecan.xml file. All inputs should now be listed under the <run><inputs>. The code will try and update your pecan.xml file to this new format. Any missing inputs that are required will quit the run, allowing you to quickly fix your pecan.xml file. For updated information see https://github.com/PecanProject/pecan/wiki/PEcAn-Configuration.

Sites now store their information as geometry objects. If you have custom queries that use the site.lat and site.lon information you will need to change this to ST_X(ST_CENTROID(geometry)) AS lon, ST_Y(ST_CENTROID(geometry)) AS lat.

Database Changes

The database requires updates for the model types table. You will need to update BETY to be able to see this. This requires version 3.2 of BETYdb (https://github.com/PecanProject/bety/releases/tag/betydb_3.2).

Code Changes

One major change is to the function called get.trait.data(). This function now requires a model type as the second parameter. The model type is used to make sure we get the right PFT. This allows multiple PFTs to have the same name, but be distinguishable by the combination of name and model type.

PEcAn 1.3.6: Updates to support changes in BETYdb and FIA databases

29 Jun 06:34
Compare
Choose a tag to compare

DOI

This version focuses on more database updates.

As always you can download the VM from:
http://isda.ncsa.illinois.edu/download/index.php?project=PEcAn&sort=category

PEcAn

add sites/data

  • the script to add sites is now part of PEcAn. To add the sites data you can use pecan/scripts/add.data.sh
  • the script to add models is updated and will setup the binaries and is called pecan/scripts/add.models.sh

Both scripts can be called multiple times, but will only add the information to the database once.

pecan.xml:

  • In pecan.xml the database section now has 2 subsections, bety and fia. Any existing information that was in the database section in pecan.xml will need to be moved to the bety subsection, read.settings() will automatically update your pecan.xml to reflect this.
  • The <bety><write> option in the pecan.xml is now part of the <database><bety> section, read.settings() will automatically update your pecan.xml to reflect this.
  • The ED land use/soil/vegetation/thermal sums data files are now inputs in BETY that need to be specified as inputs.

Action Required: add ED data files to database, see #120

SipNET

  • Support for meteorology conversion from netCDF CF standard to SipNET's .clim driver files

PEcAn Web App

  • config.php now declares the fully qualified host name ($fqdn)
  • the config.php in pecan/web will have new database configuration parameters, please see config.example.php.
  • no longer needed to specify vet/soil/ed_inputs in config.php, these are now stored as inputs in BETY.
  • if the fia database is specified in config.php, the user can now select fia2ed from psscss selector.

Action Required: update pecan/web/config.php, see pecan/web/config_example for latest settings.

BETY:

To update BETY database either download a new version or update the database.

  • In the database there is now a link from a model to the dbfiles table. This allows you to have a single model, with binaries located in different places on different systems.
  • Each PFT now stores the model type associated with it, the web application will use this to find the right pfts to display for the user, and read.settings will check to see if the PFT is compatible with the model.

Action Required: add binaries to models, for example using the pecan/scripts/addmodels.sh.
Action Required: the migration of the database will add the appropriate model_type to each PFT based on the prefix of the PFT.

PEcAn 1.3.5: Switch to PostgreSQL, enable distributed instances of BETYdb, maintaining local database changes

25 Jun 16:41
Compare
Choose a tag to compare

DOI

This version officially switches to postgreSQL. This allows for the script to enable to keep local changes to the PEcAn database.

This enables multiple instances to run BETYdb, and for local changes to be exchanged across databases. Each installation has a reserved set of foreign key ids (e.g. Boston University has 1,000,000,000-1,999,999,999 reserved. Edits to existing records added on another server will not be preserved.