This is identical to the query performed by `web/03-inputs.php` to populate the list of available sites. It may be useful for debugging, or otherwise replicating PEcAn web interface behavior.

met_inputs(dbcon, site_id, model_id, hostname)

Arguments

dbcon

Database connection object

site_id

Site ID (from `sites` table)

model_id

Model ID (from `models`) table

hostname

Hostname of machine

Value

`data.frame` of available met inputs

Author

Alexey Shiklomanov