PecanProject / pecan

The Predictive Ecosystem Analyzer (PEcAn) is an integrated ecological bioinformatics toolbox.
www.pecanproject.org
Other
202 stars 234 forks source link

only open one connection to BETY instead of one per PFT (#2967) #3018

Closed Aariq closed 2 years ago

Aariq commented 2 years ago

Description

Motivation and Context

Review Time Estimate

Types of changes

Checklist:

Aariq commented 2 years ago

Looks like at least in the case of ED2, write.ensemble.configs(), which is called by run.write.configs() also opens a connection to BETY. Probably only the outer connection should do this and pass the connection to the inner function. Maybe a separate PR though?