Preview a local AmeriFlux or FLUXNET data file
amf_preview_dataPreview and summarize local AmeriFlux, FLUXNET, or FLUXNET2015 CSV files in place or in zip archives, including column stats, time-window filters, QC checks, and paged rows.
Instructions
Summarize or page through a local BASE, AmeriFlux FLUXNET or FLUXNET2015 CSV, in place or inside its zip: time step and range, per-column count, missing (-9999), min, max, mean and out-of-range counts, units per resolution, a time window, a QC filter, UTC timestamps from the site's BIF, a SUBSET column view, and aux tables. Stops within a byte and time budget. stdio only. Next: call amf_describe_variables on columns to decode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Last time (inclusive): end='2012' keeps all of 2012. | |
| file | No | A file or 'archive.zip::member.csv', relative to a local root (see amf_list_files). Or give site and product instead. | |
| mode | No | summary: per-column statistics; rows: a window of rows. | summary |
| site | No | Newest local file of this site. | |
| view | No | subset: only FLUXNET2015 SUBSET variables (AmeriFlux FLUXNET files). | full |
| start | No | First time, e.g. 2012, 2012-06, 2012-06-01T12:00. | |
| offset | No | Rows to skip within the time window. | |
| qc_max | No | HH/HR FLUXNET: keep values whose _QC flag is at most this. | |
| to_utc | No | Add UTC timestamps (offset from the site's BIF). | |
| columns | No | Columns by name (default: up to 80 in summaries). | |
| product | No | With site: BASE-BADM (default), FLUXNET or FLUXNET2015. | |
| max_rows | No | Rows per page (capped by the server). | |
| resolution | No | Member of an archive to read (default HH; HR sites match HH). | |
| qc_min_fraction | No | DD and coarser FLUXNET: keep values whose _QC fraction is at least this. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| rows | No | ||
| scan | Yes | ||
| notes | No | ||
| source | No | ||
| columns | Yes | ||
| fileInfo | Yes | ||
| resolved | No | ||
| nextSteps | No | ||
| rowColumns | No |