Data and code from: Canopy-moisture memory in Anatolian black pine forests under climate warming: An assessment based on landsat time series
Data files
Oct 15, 2026 version files 64.90 MB
-
05_CHELSA_climate_level_table_A_B_C.csv
3.54 KB
-
CHELSA_ABC_climate_anomaly_long_for_R.csv
324.43 KB
-
cjfr-2026-0217supplc.zip
81.92 KB
-
GIS_workflow_notebooks.zip
53.77 KB
-
README.md
47.35 KB
-
Sandras_Q30_LMM_model_dataset.csv
64.39 MB
Abstract
Climate stress in forest ecosystems may not always manifest as a linear decline in mean vegetation indices but may instead emerge through shifts in temporal dependence. We evaluated interannual canopy-moisture memory in three Anatolian black pine (Pinus nigra subsp. pallasiana) stands on Sandras Mountain using Landsat-derived seasonal canopy-moisture change (ΔNDMI) from 1985 to 2021: a protected late-successional reference stand (Site A), an adjacent management-influenced mature stand (Site B), and a distant management-influenced mature stand (Site C). Linear mixed-effects models tested whether the Lag-1 ΔNDMI effect, representing carry-over of previous-year moisture conditions, differed among sites and changed after the 2005 Pettitt breakpoint in late-season minimum temperature. Despite post-break warming of +0.80–0.87 °C, no significant ΔNDMI trend was detected at any site. In contrast, the Lag-1 × post-break interaction was negative and significant (β ≈ −0.04, p < 0.001). Site A maintained a positive memory; Site B shifted to a negative post-break slope; and Site C remained positive but weakened. These patterns persisted after topographic adjustment and in the matched Site A–Site B analysis. Lag-2 was not significant, suggesting a one-year signal. Overall, interannual canopy-moisture memory may provide a complementary dimension for monitoring temporal ecosystem responses not captured by mean spectral-index trends.
Dataset overview
These files provide spatial cell attributes, seasonal Landsat index differences, lagged index differences and site-level climate covariates for a study of canopy-moisture memory in Anatolian black pine forests. The three study sites are A (protected old-growth), B (adjacent managed) and C (distant managed). The primary spatial units are 90 x 90 m cells. Site-level climate observations are repeated across spatial cells when joined to the model table; those repetitions do not represent independent climate observations.
This README describes the five deposited files: two source-code archives and three CSV data tables. File contents, variable definitions, spatial reference systems, missing-value conventions and software requirements are provided below. Sole author: Salih Malkoçoğlu, Muğla Sıtkı Koçman University.
File order and inventory
The five deposited files are documented in the following order. The three tabular datasets are supplied as CSV files.
| Order | File | Contents |
|---|---|---|
| 1 | cjfr-2026-0217supplc.zip |
GEE, R and Python/ArcPy source-code archive. |
| 2 | GIS_workflow_notebooks.zip |
Three English-language GIS source notebooks; saved outputs and source map files are excluded. |
| 3 | 05_CHELSA_climate_level_table_A_B_C.csv |
Climate summary: 24 rows and 10 columns. |
| 4 | CHELSA_ABC_climate_anomaly_long_for_R.csv |
Site/year climate series and anomalies: 2,368 rows and 10 columns. |
| 5 | Sandras_Q30_LMM_model_dataset.csv |
Main model input: 80,911 rows and 67 columns. |
Tabular data dictionaries and code-opening instructions are included in this README. The two code archives and three CSV tables are separate files. Original institutional maps and source GIS files are excluded.
1. Code archive: cjfr-2026-0217supplc.zip
The source-code archive is cjfr-2026-0217supplc.zip, with 20 UTF-8 source files grouped under cjfr-2026-0217supplc/: eight Google Earth Engine JavaScript files, four R files and eight Python/ArcPy files. They are stored as .txt for viewing in a text editor. The following table lists every file and describes the workflow variants.
| Script file or group | Role |
|---|---|
GEE_Part1_Test.txt |
GEE initial setup/test workflow. |
GEE_Part2_Calibration.txt |
Cross-sensor calibration workflow. |
GEE_Part3.1_CSV_Export_WITH_LOCAL_COEFS_%60.txt |
Q60 seasonal extraction/export variant. |
GEE_Part3.2._Landsat_Outputs_Q30_Q40_TEST.txt |
Q30/Q40 extraction/export variant, including seasonal index differences and quality diagnostics. |
GEE_Part3.3._Landsat_Outputs_Q30_Q40_TEST.txt |
Combined Q30/Q40/Q50/Q60/Q70 sensitivity exports with at least two valid observations in both seasons; exports grid, area-mean, coverage and step-window tables. Its historical filename mentions Q30/Q40. |
GEE_Part3_CSV_Export_WITH_LOCAL_COEFS_%50_and_%70_sensitvity.txt |
Q50/Q70 threshold-sensitivity variant. |
GEE_Part4_raster_save.txt |
Raster export workflow. |
GEE_Part5_P1_NDSI_AreaWeighted_Annual_A_B_C_1985_2021_no2012.txt |
Supplementary P1 snow-signal/NDSI analysis, 1985-2021 with 2012 excluded; not an NDMI extraction script. |
R_STEP_1_climate_anomalies.txt |
Reads the climate-long CSV, selects A/B/C and P2/Annual, recomputes site-specific sample-SD anomalies, and produces climate summaries/trend outputs. |
R_Pettitt_MannKendall_P2_analysis.txt |
Pettitt breakpoint, Mann-Kendall and Sen-slope analyses. Its wide input needs columns such as A_Tmin_P2, B_Tmin_P2 and C_Tmin_P2; preparation from the deposited climate-long table is shown in section 6. |
R_LMM_01_-07_models_full_code.txt |
Reads the main model CSV; fits seven mixed-model formulations, prepares derived variables and produces model/diagnostic outputs. |
R_Matched_AB_topographic_sensitivity.txt |
Matched-site A/B topographic sensitivity workflow listed in the submission. |
chelsa_tasmax_tas_arcphycode.txt; chelsa_tasmin_arcphycode.txt; chlesa_pr_arcphycode.txt |
CHELSA climate-grid extraction for tasmax/tas, tasmin and precipitation, respectively; requires authorized external monthly rasters and the A/B/C zone boundaries. |
create_topographic_variables_arcphycode.txt |
Terrain-variable derivation. |
map_symbology_common_legend_arcpy.txt |
Map symbology/common-legend workflow. |
overlay_analays_of_area_select_arcphycode.txt |
Spatial-overlay/selection workflow. |
transfer_to_standtype_on_fishnet_arcphycode.txt |
Stand-type attribution to the grid. |
zonal_statistic_transfer_to_fishnet_arcphycode.txt |
Zonal-statistic attribution to the grid. |
All comments, explanatory text and user-facing messages are in English. Original field identifiers, source-category codes, proper names and local path references are retained. Configure the original local paths and obtain authorized access to any referenced GEE assets or GIS inputs before execution. Asset identifiers and path strings are references; no source geometry or map data are embedded in this archive.
The standalone tasmax/tas and tasmin files were incomplete in the earlier export. Their complete versions are preserved here from the corresponding supplied notebook cells in GIS_workflow_notebooks.zip; no new extraction formula or analysis was introduced. The other six ArcPy files also correspond to the English notebook workflows. Python files passed syntax checks and GEE JavaScript files passed a local syntax check. The ArcGIS, GEE and R analyses were not rerun during packaging.
2. GIS workflow code: GIS_workflow_notebooks.zip
This archive contains source code only. No geodatabases, original forest-stand polygons, rendered maps, original rasters, ArcGIS projects, thumbnails or saved notebook outputs are included.
| Notebook | Contents and requirements |
|---|---|
notebooks/grid_preparation.ipynb |
Earlier 90 m fishnet construction, clipping and CRS checks. The original console-log cell is replaced by an explanatory note. |
notebooks/spatial_selection_and_climate_extraction.ipynb |
Terrain calculations, spatial attribution, A/B/C selection alternatives and CHELSA extraction. Two incomplete original variants remain as Markdown reference snippets. |
notebooks/map_symbology.ipynb |
Shared class breaks and colours for pre/post-break NDMI maps. Requires relevant external rasters and an ArcGIS Pro project. |
Comments, docstrings and user-facing messages are in English. Saved outputs have been removed to avoid redistributing source-table previews and processing caches. Original path and field references are retained as processing instructions; they do not deposit or license those source inputs.
The notebooks contain alternative workflows. Configure local paths, provide authorized source inputs, and select the relevant complete cells. ArcPy requires ArcGIS Pro; terrain and zonal-statistics operations additionally require Spatial Analyst. Executable cells were syntax checked; ArcGIS analyses were not rerun during packaging.
The original institutional forest-stand maps are owned by the responsible forestry authority and are excluded. Obtain access to those source data from the rights holder under its applicable conditions when reproducing the GIS preprocessing. The model CSV provides the downstream processed analysis records.
3. Climate summary: 05_CHELSA_climate_level_table_A_B_C.csv
This table summarizes the climate levels for A, B and C. Its 24 rows are 3 sites x 4 climate variables x 2 periods (Annual and P2). Its unique key is (area_code, climate_variable, period).
The summary means, sample SDs, minima, maxima, pre-break and post-break means, and their differences reproduce the corresponding series in file 4. Temperature summaries use degrees Celsius. Precipitation summaries retain the nominal accumulated-millimetre units and source-scaling limit explained in file 4. delta_post_minus_pre is the post-break mean minus the pre-break mean, not the seasonal P2-P1 difference.
| Field | Definition | Units / codes / calculation |
|---|---|---|
area_code |
Study-site identifier. | category. A; B; C. |
climate_variable |
Climate variable represented by value/statistics. | category. Tmin=mean daily minimum temperature; Tmax=mean daily maximum temperature; Tas=mean temperature; Pr=precipitation. |
period |
Seasonal or annual aggregation. | category. P2=July-September; Annual=January-December. |
mean_1985_2021 |
Mean of all 37 values in the stated site/variable/period series. | variable-dependent. Degrees Celsius for temperature; nominal accumulated mm for Pr under the supplied workflow. |
sd_1985_2021 |
Sample SD of the 37 year values. | same as the climate series. Denominator N-1=36. |
min_1985_2021 |
Minimum year value over 1985-2021. | same as the climate series. Not the single daily minimum temperature. |
max_1985_2021 |
Maximum year value over 1985-2021. | same as the climate series. Not the single daily maximum temperature. |
mean_pre_1985_2005 |
Mean of the 21 annual series values from 1985 through 2005. | same as the climate series. Pre-break interval. |
mean_post_2006_2021 |
Mean of the 16 annual series values from 2006 through 2021. | same as the climate series. Post-break interval. |
delta_post_minus_pre |
Difference between the post-break and pre-break means. | same as the climate series. mean_post_2006_2021 - mean_pre_1985_2005. This is not the seasonal P2-P1 difference. |
4. Climate time series: CHELSA_ABC_climate_anomaly_long_for_R.csv
This file contains 2,368 rows and 10 columns. Its unique key is (area_code, year, climate_variable, period). It includes every year from 1985 through 2021. Labels A/B/C identify the three sites. ABC_mean is the equally weighted mean of their three values for the same year, variable and period; it is not a fourth independent site or an area-weighted pooled observation.
Column dictionary
| Field | Definition | Units / codes / calculation |
|---|---|---|
area_code |
Site identifier, or an equal-weight mean of the three site series. | category. A; B; C; ABC_mean. ABC_mean=(A+B+C)/3 for each year/variable/period; it is not a fourth independent site. |
year |
Calendar year. | year. Every year 1985-2021 is represented. |
period2_pettitt |
Two-period climate-breakpoint grouping. | category. pre_break_1985_2005; post_break_2006_2021. |
climate_variable |
Climate variable represented by value/statistics. | category. Tmin=mean daily minimum temperature; Tmax=mean daily maximum temperature; Tas=mean temperature; Pr=precipitation. |
period |
Season or annual aggregation. | category. P1=May-June; P2=July-September; Delta_P2_minus_P1=P2-P1; Annual=January-December. The summary table contains P2 and Annual only. |
value |
Site-year climate value for the stated variable and period. | variable-dependent. Temperature: degrees Celsius; Pr: nominal accumulated mm in P1/P2/Annual under the supplied workflow. For Delta, use the P2-P1 difference in those same units. See scaling/provenance limits in README. |
baseline_mean_1985_2021 |
Mean of the 37 annual values for the same site, climate_variable and period. | same as value. Computed separately for every area_code x climate_variable x period, including ABC_mean as its own series. |
baseline_sd_1985_2021 |
Sample SD of the 37 annual values for the same series. | same as value. Denominator N-1=36. |
anomaly_1985_2021 |
Difference between the year value and its baseline mean. | same as value. value - baseline_mean_1985_2021. |
z_1985_2021 |
Standardized climate anomaly. | dimensionless. anomaly_1985_2021 / baseline_sd_1985_2021; sample-SD convention, unlike model-table *_P2_z. |
Seasons, units and standardization
- P1: May-June.
- P2: July-September.
- Annual: January-December.
Delta_P2_minus_P1in the climate-long file: P2 minus P1 within the same year.Delta_NDMI_*andDelta_NDVI_*in the model file: P2 minus P1 within the same year, not a year-to-year change.delta_post_minus_prein the climate-summary file: mean for 2006-2021 minus mean for 1985-2005. It is a different contrast from P2 minus P1.
NDMI is (NIR - SWIR1)/(NIR + SWIR1); NDVI is (NIR - RED)/(NIR + RED). Both indices and their differences are dimensionless. _roy identifies the Roy-coefficient harmonization series; _local identifies the locally calibrated sensitivity series. The reviewed GEE code applies the harmonization to OLI reflectance and retains the older sensor series as its reference. Q30 identifies its 0.30 seasonal valid-ratio criterion.
Temperature values in these tables are already in degrees Celsius. Tmin and Tmax are averages of the monthly daily-minimum/daily-maximum temperature variables over the stated period, not single daily extremes. The supplied extraction notebook uses raw * 0.1 - 273.15 for its source temperature rasters and averages the monthly temperature rasters within P1, P2 and Annual. Do not apply that raw-raster conversion again to these CSV values.
For precipitation, the extraction notebook sums monthly rasters within each period after applying raw * 0.1. The tables report nominal accumulated millimetres under that workflow: P1/P2 and Annual totals, and differences in the same units. The original monthly CHELSA rasters and metadata identifying their exact product/encoding are not deposited, so the raw-raster scale factor is documented from the code rather than independently verified against those source metadata. The deposited precipitation values are preserved without further rescaling. P1 covers two months and P2 covers three months; a P2-P1 precipitation difference is not a duration-normalized precipitation rate.
The standardization conventions differ between the two data tables. In the climate-long file, baseline_sd_1985_2021 is the sample SD of the 37 year values (denominator 36), and z_1985_2021 = anomaly_1985_2021 / baseline_sd_1985_2021. In the model-input file, Tmin_P2_z, Tmax_P2_z, Tas_P2_z and Pr_P2_z match the population-SD convention for the same complete 1985-2021 site/P2 series (denominator 37). Consequently, the model z scores equal the corresponding climate-long z scores multiplied by sqrt(37/36). Preserve each convention when reproducing its associated analysis; do not overwrite one table with the other's z column without deliberately changing that analysis.
The absolute P2 climate values in the model table match the climate-long file by (area_code, year, climate_variable, P2). Its Tmin anomaly also matches that file. The 24-row summary can be reproduced from the climate-long values using sample SD and the stated pre/post-year intervals. Baselines must be calculated on the 37-year climate series, not on the climate values duplicated across all retained spatial-cell rows.
5. Model input: Sandras_Q30_LMM_model_dataset.csv
This is the main model-input table. It has 80,911 cell-year rows, 67 columns and 3,477 distinct cells. Site counts are A=1,087, B=1,195 and C=1,195. The table retains the cell IDs and A/B/C assignments used in the analysis.
The primary key is (grid_id, year); area_code identifies site A/B/C. Current-year observations span 30 retained years: 1986-2002, 2005-2011, 2014 and 2017-2021. Missing cell-year combinations are not zero. See section 6 for full key, date and file-relationship guidance.
The table is supplied as CSV. Read text using UTF-8 and numeric values using a decimal point. AREA_RATIO is a dimensionless numeric ratio: 1 in A and approximately 1.09935602576 in B/C. It is the selected site area divided by the reference-site A area. An automated checker may infer an integer type from the A-site values and flag the valid B/C decimals. These integer-versus-decimal alerts are false-positive data-type warnings, not errors in the ratio values. Read this field as a decimal number; do not round or force it to an integer.
Column dictionary
The table below defines all 67 columns. Missing-value counts and interpretation guidance follow the dictionary.
| Field | Definition | Units / codes / calculation |
|---|---|---|
area_code |
Study site to which the cell belongs. | category. A = protected old-growth; B = adjacent managed; C = distant managed. |
grid_id |
Unique analysis-cell identifier retained in this CSV. | identifier. 3,477 distinct IDs; repeated across years. Use grid_id with year as the model-table key; centroid coordinates locate each cell in EPSG:32635. |
year |
Calendar year of the current seasonal index difference. | year. Actual retained years are listed in README section 6; the source study window is 1985-2021. |
stand_group |
Broad stand/management group. | category. POGF = protected old-growth forest (site A); MF = managed forest (sites B and C). |
area_role |
Role of the site in the comparison. | category. protected_old_growth (A), adjacent_managed (B), distant_managed (C). |
period3 |
Three-block temporal grouping retained for alternative/sensitivity models. | category. 1985-1997; 1998-2011; 2013-2021. Use period2_pettitt for the two-period breakpoint formulation. |
period2_pettitt |
Two-period grouping associated with the climate breakpoint. | category. pre_break_1985_2005; post_break_2006_2021. |
post_pettitt |
Numeric indicator of post-break years. | binary. 0 = year <= 2005; 1 = year >= 2006. |
pettitt_cp_year |
Breakpoint year used to construct the supplied period variables. | year. 2005 in all supplied rows; the first post-break year is 2006. |
sensor_period |
Indicator of the Landsat sensor era. | binary. 0 = 1985-2012 Landsat 5 era; 1 = 2013 onward OLI era. The retained source_rule fields contain L5 or L8_only. |
threshold |
Seasonal valid-observation threshold label. | category. Q30: the supplied GEE workflow uses a 0.30 valid-ratio threshold in each of P1 and P2. This is not a precipitation or canopy-closure threshold. |
Delta_NDMI_roy |
Seasonal NDMI difference for the Roy-coefficient harmonization. | dimensionless. NDMI(P2 July-September) minus NDMI(P1 May-June). This is a seasonal difference, not an absolute index and not a year-to-year difference. |
lag1_Delta_NDMI_roy |
Delta_NDMI_roy for the same spatial cell 1 calendar year(s) earlier. | dimensionless. Blank means unavailable. Preserve calendar-year spacing when constructing lags; the previous retained row is not necessarily the previous year. The precursor time series may contain years omitted from this filtered model-input table. |
lag2_Delta_NDMI_roy |
Delta_NDMI_roy for the same spatial cell 2 calendar year(s) earlier. | dimensionless. Blank means unavailable. Preserve calendar-year spacing when constructing lags; the previous retained row is not necessarily the previous year. The precursor time series may contain years omitted from this filtered model-input table. |
lag3_Delta_NDMI_roy |
Delta_NDMI_roy for the same spatial cell 3 calendar year(s) earlier. | dimensionless. Blank means unavailable. Preserve calendar-year spacing when constructing lags; the previous retained row is not necessarily the previous year. The precursor time series may contain years omitted from this filtered model-input table. |
Delta_NDVI_roy |
Seasonal NDVI difference for the Roy-coefficient harmonization. | dimensionless. NDVI(P2 July-September) minus NDVI(P1 May-June). This is a seasonal difference, not an absolute index and not a year-to-year difference. |
lag1_Delta_NDVI_roy |
Delta_NDVI_roy for the same spatial cell 1 calendar year(s) earlier. | dimensionless. Blank means unavailable. Preserve calendar-year spacing when constructing lags; the previous retained row is not necessarily the previous year. The precursor time series may contain years omitted from this filtered model-input table. |
lag2_Delta_NDVI_roy |
Delta_NDVI_roy for the same spatial cell 2 calendar year(s) earlier. | dimensionless. Blank means unavailable. Preserve calendar-year spacing when constructing lags; the previous retained row is not necessarily the previous year. The precursor time series may contain years omitted from this filtered model-input table. |
lag3_Delta_NDVI_roy |
Delta_NDVI_roy for the same spatial cell 3 calendar year(s) earlier. | dimensionless. Blank means unavailable. Preserve calendar-year spacing when constructing lags; the previous retained row is not necessarily the previous year. The precursor time series may contain years omitted from this filtered model-input table. |
Delta_NDMI_local |
Seasonal NDMI difference for the local chained calibration sensitivity series. | dimensionless. NDMI(P2 July-September) minus NDMI(P1 May-June). This is a seasonal difference, not an absolute index and not a year-to-year difference. |
lag1_Delta_NDMI_local |
Delta_NDMI_local for the same spatial cell 1 calendar year(s) earlier. | dimensionless. Blank means unavailable. Preserve calendar-year spacing when constructing lags; the previous retained row is not necessarily the previous year. The precursor time series may contain years omitted from this filtered model-input table. |
Delta_NDVI_local |
Seasonal NDVI difference for the local chained calibration sensitivity series. | dimensionless. NDVI(P2 July-September) minus NDVI(P1 May-June). This is a seasonal difference, not an absolute index and not a year-to-year difference. |
lag1_Delta_NDVI_local |
Delta_NDVI_local for the same spatial cell 1 calendar year(s) earlier. | dimensionless. Blank means unavailable. Preserve calendar-year spacing when constructing lags; the previous retained row is not necessarily the previous year. The precursor time series may contain years omitted from this filtered model-input table. |
Tmin_P2 |
Site-level July-September mean daily minimum near-surface temperature. | degrees Celsius. Already converted; do not apply raw CHELSA temperature scaling again. |
Tmin_P2_anomaly |
P2 Tmin minus its site-specific 1985-2021 P2 baseline mean. | degrees Celsius. Matches anomaly_1985_2021 in the climate-long table for Tmin/P2. |
Tmin_P2_z |
Site-specific standardized P2 Tmin value. | dimensionless. (value - 1985-2021 site/P2 mean) divided by population SD with denominator N=37. This differs from climate-long z_1985_2021, which uses sample SD (N-1=36). |
Tmax_P2 |
Site-level July-September mean daily maximum near-surface temperature. | degrees Celsius. A seasonal average of the monthly daily-maximum temperature variable, not the single hottest observation. |
Tmax_P2_z |
Site-specific standardized P2 Tmax value. | dimensionless. (value - 1985-2021 site/P2 mean) divided by population SD with denominator N=37. This differs from climate-long z_1985_2021, which uses sample SD (N-1=36). |
Tas_P2 |
Site-level July-September mean near-surface air temperature. | degrees Celsius. Already converted; do not apply raw scaling again. |
Tas_P2_z |
Site-specific standardized P2 Tas value. | dimensionless. (value - 1985-2021 site/P2 mean) divided by population SD with denominator N=37. This differs from climate-long z_1985_2021, which uses sample SD (N-1=36). |
Pr_P2 |
Site-level July-September accumulated precipitation as encoded in the supplied workflow. | nominal accumulated mm per P2 season under the extraction workflow. Monthly Pr rasters are summed after raw*0.1 scaling; exact source-raster encoding metadata are not part of this deposit. See section 4. |
Pr_P2_z |
Site-specific standardized P2 Pr value. | dimensionless. (value - 1985-2021 site/P2 mean) divided by population SD with denominator N=37. This differs from climate-long z_1985_2021, which uses sample SD (N-1=36). |
coverage_Q30 |
Retained spatial coverage fraction associated with the site-year Q30 extraction. | fraction, 0-1. Check against retained_cells_Q30/total_cells_Q30; this value is repeated across cells within a site-year. |
valid_ratio_P1 |
Mean valid-observation ratio for the grid cell in P1. | fraction, 0-1. Quality metric exported by the GEE workflow after applying its seasonal masking/selection. P1=May-June; P2=July-September. |
valid_ratio_P2 |
Mean valid-observation ratio for the grid cell in P2. | fraction, 0-1. Quality metric exported by the GEE workflow after applying its seasonal masking/selection. P1=May-June; P2=July-September. |
n_images_P1 |
Image-count diagnostic for the selected seasonal composite in P1. | image count. Exported through the GEE grid reducer. The exact count calculation follows the associated GEE source; do not interpret as the number of years. |
n_images_P2 |
Image-count diagnostic for the selected seasonal composite in P2. | image count. Exported through the GEE grid reducer. The exact count calculation follows the associated GEE source; do not interpret as the number of years. |
retained_cells_Q30 |
Number of retained spatial cells for the site-year Q30 extraction. | count. Quality/coverage metadata, not a count of repeated annual rows in the entire table. |
total_cells_Q30 |
Total number of candidate cells in that selected site. | count. 1,087 in A; 1,195 in B and C. |
source_rule_P1 |
Seasonal sensor-source rule for P1. | category. L5 = Landsat 5; L8_only = Landsat 8 only in the supplied model table. The broader GEE code also supports other OLI source combinations outside this table. |
source_rule_P2 |
Seasonal sensor-source rule for P2. | category. L5 = Landsat 5; L8_only = Landsat 8 only in the supplied model table. The broader GEE code also supports other OLI source combinations outside this table. |
lag1_available |
Indicator that a one-year lag was available at model-input preparation. | binary. 1 in every supplied row; earlier unretained rows are not included in this file. |
row_id |
Row identifier in the source fishnet grid. | integer index. |
col_id |
Column identifier in the source fishnet grid. | integer index. |
area_m2 |
Area of the analysis cell. | m2. 8,100 m2 in every row, corresponding to a 90 x 90 m cell. |
cent_x |
Grid-cell centroid easting. | m. WGS 84 / UTM zone 35N (EPSG:32635); numerical centroid coordinate retained in this table. |
cent_y |
Grid-cell centroid northing. | m. WGS 84 / UTM zone 35N (EPSG:32635); numerical centroid coordinate retained in this table. |
final_id |
Sequential identifier assigned to a selected intermediate grid. | identifier. Not a substitute for grid_id across all processing stages. |
ELEV |
Mean DEM elevation within the 90 m grid cell. | m. Derived by zonal mean from the source DEM. Its product identifier and vertical datum are not recorded in the deposited tables. |
SLOPE |
Mean terrain-slope angle within the grid cell. | degrees. Zonal mean of the slope raster calculated with the DEGREE option. |
TPI |
Mean local topographic position index within the grid cell. | m. Notebook definition: elevation minus the mean of a 3 by 3 DEM-cell neighbourhood. The source DEM used in this workflow has 12.5 m cells; its 3 by 3 window spans 37.5 m. The DEM itself is not deposited. |
TWI |
Mean topographic wetness index within the grid cell. | dimensionless index. Notebook definition: ln(((D8 flow accumulation + 1) * DEM cell width) / tan(max(slope_radians, 0.001))). Flow is calculated on a filled DEM; the index depends on the adopted metre-based grid. |
TRASP |
Mean transformed aspect within the grid cell. | dimensionless; 0 to 1. Notebook definition: (1 - cos((aspect_degrees - 30) * pi/180))/2. Zero corresponds to 30 degrees and one to 210 degrees; flat cells receive 0.5. |
SEI |
Mean south-facing exposure index within the grid cell. | dimensionless; theoretical -1 to 1. Notebook definition: cos((aspect_degrees - 180) * pi/180) * sin(slope_degrees * pi/180). Flat cells receive zero. This is an exposure proxy, not measured solar radiation. |
AREA_SET |
Selected study-site label. | category. A = protected group (Seflik 1, MES_DURUM 1); B = managed group (Seflik 1, MES_DURUM 0); C = managed group (Seflik 2). |
SEL_TMP |
Selection label retained during preprocessing. | category. A, B or C; identical to AREA_SET in this CSV. |
AREA_GROUP |
Descriptive selection-group label. | category. Protected_Seflik1_Durum1 = A; Managed_Seflik1_Durum0 = B; Managed_Seflik2 = C. |
SEL_AREA_H |
Total area of the selected site, repeated on each member cell. | ha. Not the individual cell area. A = 880.47 ha; B and C = 967.95 ha each in the current selection. |
AREA_RATIO |
Selected-site area divided by the protected reference-site A area. | dimensionless decimal number. A=1; B/C approximately 1.09935602576. Valid decimal values must not be forced to integers. |
BETWEEN_Z |
Between-site topographic difference score for the selected A/B/C triplet. | dimensionless. Mean of the five variable-specific standardized ranges: (maximum site mean - minimum site mean) / global SD. |
MAXVAR_Z |
Largest variable-specific standardized range among the five topographic variables. | dimensionless. Maximum of ELEV_RZ, SLOPE_RZ, TPI_RZ, TWI_RZ and TRASP_RZ in the final summary. |
STRICT_OK |
Flag indicating whether the selected triplet passed the configured strict-selection criteria. | binary. 1 = passed; 0 = fallback selection. Final-workflow settings include BETWEEN_Z <= 0.75, MAXVAR_Z <= 1.50 and B/C heterogeneity <= 1.20; see the notebook for all size constraints. |
MES_CODE |
Forest stand-type label transferred to the grid cell. | category. Original Turkish forestry notation retained. Species prefix Ck/Çk denotes black pine in this study; full development, layering and closure-code definitions require the source forest-plan legend. No age intervals have been inferred. |
MES_DURUM |
Protection/management-status flag assigned in this project. | category. 1 = protected; 0 = managed/unprotected within the selection workflow. This operational project grouping does not specify legal protection dates. |
Seflik |
Numeric source-management grouping assigned during merging. | category. 1 = Cicekli source-management group (sites A and B); 2 = Koycegiz source-management group (site C). These are source-group codes, not distinct stand-type codes. |
Shape_Leng |
Perimeter attribute copied from the analysis cell. | m. 360 m in every row, corresponding to a 90 x 90 m square in EPSG:32635. No polygon geometry is deposited. |
Shape_Area |
Area attribute copied from the analysis cell. | m2. 8,100 m2 in every row; identical to area_m2. No polygon geometry is deposited. |
Missing values and repeated attributes
Blank numeric fields mean unavailable values. Zero is a valid measurement or category and is not a global missing-data code. In the supplied model-input table, the only blank-valued columns are the Roy-series lag-2 and lag-3 columns: lag-2 has 19,506 blanks for each of NDMI and NDVI, and lag-3 has 19,085 blanks for each index. The other 63 model columns have no blank/NA tokens in the supplied copy. Both climate CSVs contain no blank fields.
Lagged variables refer to calendar years, not simply adjacent retained rows. The reviewed R model script also derives an analysis-specific lag-2 variable from the sorted retained data and checks the calendar-year separation. Follow the script used by each model rather than assuming every precomputed lag column and recomputed lag column is interchangeable.
Site-year climate quantities, selection metadata and static cell attributes repeat across many model rows by design. This is not evidence of duplicated measurements. SEL_AREA_H is the total selected site area in hectares, repeated on its cells; it is not the cell area. coverage_Q30 equals retained_cells_Q30 / total_cells_Q30 in the supplied table. The per-model sample size can be smaller than 80,911 when its required variables include unavailable higher lags or apply other script-specific filters.
The notebooks contain alternative selections. The model table represents 3,477 distinct cells; do not append alternative selections as additional independent observations.
The original forest-plan map and legend are not deposited. The MES_CODE field retains source stand labels. Full development/age and canopy-closure classes cannot be reconstructed reliably from abbreviations alone. No age interval or legal protection date has been inferred from a stand code.
Text labels and spatial joins
MES_CODE contains the source forest stand-type label. Use grid_id to relate the same analysis cell across years; check area_code against AREA_SET in the model table. Stand labels are categorical text and should not be used as the unique spatial join key.
The CSV preserves 17 distinct source labels exactly as exported: ├çka3, ├çkb2, ├çkb3, ├çkbc2, ├çkbc3, ├çkc2, ├çkc3, ├çkcd2, ├çkcd3, ├çkd2, ├çkd3, ├çkde/ab2, ├çkde/bc2, ├çkde1/bc2, ├çkde1/bc3, ├çkde2 and ├çkde2-T. Their common ├çk prefix is a legacy encoding rendering of the Turkish black-pine prefix Çk. The stored labels have not been renamed or numerically recoded. Treat their remaining suffixes as source categories; their full forestry-class legend is not included in this deposit.
6. Relationships, sites, dates and processing order
| Site | area_role | stand_group | Distinct cells | Grid area (ha) |
|---|---|---|---|---|
| A | protected_old_growth | POGF | 1,087 | 880.47 |
| B | adjacent_managed | MF | 1,195 | 967.95 |
| C | distant_managed | MF | 1,195 | 967.95 |
The model table contains 3,477 distinct spatial cells and no duplicate (grid_id, year) pairs. grid_id identifies the same analysis cell across yearly records; check area_code against AREA_SET in the model table. The original geodatabases are not deposited. Each cell covers 8,100 m2. The numerical centroid coordinates retained in the CSV use WGS 84 / UTM zone 35N (EPSG:32635), with units in metres. No vector layer is deposited.
The source study window is 1985-2021. The filtered model-input file contains these 30 observation years: 1986-2002, 2005-2011, 2014 and 2017-2021. It has no current-year rows for 1985, 2003, 2004, 2012, 2013, 2015 or 2016. Individual cells also have gaps. Do not treat missing cell-year combinations as zero or assume a balanced panel. The table is a prepared model input, not the complete pre-filter Landsat time series. Lag values can reference observations from a precursor table that is not retained as a current-year row here.
The climate-long file contains all 37 years 1985-2021. Its unique key is (area_code, year, climate_variable, period). Its 2,368 rows equal 4 area labels x 37 years x 4 variables x 4 period labels. Only A/B/C are independent site series. ABC_mean is the equal-weight arithmetic mean of the three site values for the same year, variable and period; it is not weighted by site area and is not an additional independent site. The reviewed R climate-anomaly script filters to A/B/C.
The summary file has unique key (area_code, climate_variable, period): 3 sites x 4 variables x 2 periods = 24 rows.
Conceptual processing order
- Prepare the aligned spatial grid, terrain rasters and stand attributes; select sites A/B/C. The notebook archive documents preparation and selection; original source maps are excluded.
- Extract seasonal Landsat data and quality metrics in GEE; calculate P2-P1 NDMI/NDVI differences with Roy and local calibration variants.
- Extract site-year CHELSA climate values. The deposited climate-long table supplies the already processed values; raw monthly climate rasters are external source inputs.
- Use the climate-long file for climate anomalies and breakpoint/trend analysis. For the wide Pettitt input, filter
period=P2, retain A/B/C, and pivotclimate_variableandarea_codeinto the column names required by that script. Preserve all 37 climate years. - Use
Sandras_Q30_LMM_model_dataset.csvfor the mixed models, then the corresponding sensitivity script for matched A/B comparisons. Set script paths to the extracted files. The R model script writes an additional analysis-ready output after centering/standardization; this is an output of that script, not a required substitute for the supplied input.
Not all script variants are intended to run sequentially. Select the variant supporting the stated analysis. The GIS notebooks contain exploratory and alternative blocks; their roles, external-input requirements and execution limitations are described in section 2 of this README.
Preparing the Pettitt script input
R_Pettitt_MannKendall_P2_analysis.txt reads a wide-format input named Pettitt_MannKendall_P2_wide_input.csv. This is a locally generated working table, not an additional deposited dataset. Create it from CHELSA_ABC_climate_anomaly_long_for_R.csv using the following R code, then set the script's out_dir to that working directory. The code preserves the deposited P2 and Annual values for all 37 years and creates columns such as A_Tmin_P2, B_Tmin_P2 and C_Tmin_P2, along with corresponding columns for the other variables and Annual period.
climate_long <- readr::read_csv(
"CHELSA_ABC_climate_anomaly_long_for_R.csv",
show_col_types = FALSE
)
climate_wide <- climate_long |>
dplyr::filter(
area_code %in% c("A", "B", "C"),
period %in% c("P2", "Annual")
) |>
dplyr::select(year, area_code, climate_variable, period, value) |>
tidyr::pivot_wider(
names_from = c(area_code, climate_variable, period),
values_from = value,
names_glue = "{area_code}_{climate_variable}_{period}"
) |>
dplyr::arrange(year)
readr::write_csv(climate_wide, "Pettitt_MannKendall_P2_wide_input.csv")
This supplies the main P2 Tmin analysis and the available temperature series for the script's optional block. That block also refers to Pr_P2_raw, Pr_Annual_raw and DeMartonne_Annual; these columns are not generated by this preparation and are skipped by the script when absent. The deposited precipitation series remain processed values under their documented scaling convention; they are not relabelled as raw values. No De Martonne series is deposited.
7. Software and file-opening instructions
| File type / task | Software | Requirements |
|---|---|---|
| CSV tables | R, Python, LibreOffice Calc or another UTF-8 CSV reader | Comma delimiter, decimal point and UTF-8 text. Treat category labels and IDs as identifiers. |
| Notebook viewing | JupyterLab / Jupyter Notebook | Open the .ipynb files; source text is in English and saved outputs are removed. |
| ArcPy execution | ArcGIS Pro Python environment | Requires the relevant proprietary ArcGIS licence; terrain/zonal-statistics operations require Spatial Analyst. Provide authorized external inputs and configure paths. |
| GEE JavaScript stored as .txt | Google Earth Engine Code Editor | Requires an authorized account/project and accessible source assets. |
| R scripts stored as .txt | R; optional RStudio/Posit IDE | Open as R source or save a working .R copy; configure input/output paths. |
| Python/ArcPy scripts stored as .txt | ArcGIS Pro Python environment | Open as Python source or save a working .py copy. Run scripts using ArcGISProject("CURRENT") within an open ArcGIS Pro project; configure paths and external inputs. |
R, Python, Jupyter and LibreOffice provide open-source access to the deposited tables and code. QGIS/GDAL can support independently developed equivalents of the spatial operations; the deposited ArcPy cells require their original ArcGIS environment.
The mixed-model R code imports tidyverse, readr, lme4, lmerTest, broom.mixed, performance, emmeans and DHARMa. Climate-anomaly code uses tidyverse, readr, zoo, patchwork and forcats; breakpoint analysis also uses trend. Matched A/B sensitivity additionally uses MatchIt, cobalt and openxlsx. Some notebook variants use NumPy, pandas, GeoPandas, rasterio and affine. Exact tested package versions are not recorded. The R scripts include package-installation checks; installation may require an internet connection.
8. Data provenance and licence
The data and code deposited in this repository are dedicated to the public domain under the Creative Commons CC0 1.0 Universal Public Domain Dedication. This includes the three processed CSV tables, their retained categorical attributes and the deposited research code.
Landsat and CHELSA are the satellite and climate source families used by the extraction workflows. Original institutional forest-stand maps, vector layers, source rasters and ArcGIS project files are excluded from this repository. Those external source materials are not covered by this repository's CC0 dedication. Access to the original institutional maps must be arranged with the responsible forestry authority under its applicable conditions.
The processed model CSV retains numerical centroid coordinates and analysis attributes. It does not contain polygon or line geometry. The notebook archive contains source code without saved outputs. Reproducing the original GIS preprocessing requires authorized external inputs and the software described in section 7; the GIS analyses were not rerun during packaging.
Useful documentation:
