Skip to content

Commit 4de84ee

Browse files
Archive metadata utilities planning files
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 61637ec commit 4de84ee

3 files changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Findings
2+
3+
## Variable metadata
4+
5+
Source of truth from `bc_climate_anomaly/app.R` and `extract_aoi_anomaly.R`:
6+
7+
| variable | long_name | unit | anomaly_type | era5_name |
8+
|----------|-----------|------|-------------|-----------|
9+
| tmean | Mean temperature | °C | absolute | 2m_temperature |
10+
| tmax | Maximum temperature | °C | absolute | — (derived from hourly max) |
11+
| tmin | Minimum temperature | °C | absolute | — (derived from hourly min) |
12+
| prcp | Precipitation | % | pct_normal | total_precipitation |
13+
| vpd | Vapour pressure deficit | Pa | absolute | — (derived from temp + dewpoint) |
14+
| rh | Relative humidity | % | absolute | — (derived from temp + dewpoint) |
15+
| soil_moisture | Soil moisture | % | pct_normal | volumetric_soil_water_layer_1-4 |
16+
17+
Note: `era5_name` for derived variables will be populated when `cd_fetch()` is built. For now, store the raw ERA5-Land variable names for the direct ones and NA for derived.
18+
19+
## Periods
20+
21+
From app.R: annual, winter (DJF), spring (MAM), summer (JJA), fall (SON). Monthly available but not default.
22+
23+
## Cache pattern
24+
25+
drift uses `rappdirs::user_cache_dir("drift")` — we follow the same pattern with `"cd"`.

planning/active/progress.md renamed to planning/completed/01_metadata_utilities_progress.md

File renamed without changes.

planning/active/task_plan.md renamed to planning/completed/01_metadata_utilities_task_plan.md

File renamed without changes.

0 commit comments

Comments
 (0)