|
Description
| Slush study: code, data and figure sources
Generated 2026-11-25 13:02 CET by slush_study/prog/build_readme_html.py from prog/_codebase_WORKFLOW_MAP.md and slush_obsidian/Figs/SOURCES.md. Edit the Markdown files, not this page. Jump to Appendix: figure data sources.
Slush study: code, data and figure workflow map
Paper: Box et al., "Expanding blue slush zones amplify melt across the Greenland ice sheet", Nature Climate Change (NCLIM-26041460B, accepted in principle).
Last updated: 2026-11-25 (Europe/Copenhagen). Figure and table numbers follow the final manuscript (slush_study_NCC_final_20261125*.docx). The October 2026 numbering used in the first Dataverse zips is mapped at the end of this file.
Data and code DOI: pending (GEUS Dataverse; to be added when the dataset is published).
How to read the paths
Paths are relative to these roots so that they also work inside the Dataverse download: Root used hereLocation on the author's machineIn the Dataverse files slush_study//Users/jason/Dropbox/slush_study/Box_slush_code.zip, Box_slush_derived.zip, update zip slush_study/ MODIS_blue_slush//Users/jason/Dropbox/MODIS_blue_slush/MODIS_blue_slush/Box_MODIS_code.zip, Box_MODIS_derived.zip, update zip MODIS_blue_slush/ CARRA//Users/jason/Dropbox/CARRA/CARRA scripts and the CARRA grid ancillaries Greenland map//Users/jason/Dropbox/Greenland map/basin rasters and regional basin shapefiles (update zip Greenland map/) 0_dat//Users/jason/0_dat/ (mirror on /Volumes/WD20Tb/0_dat/)raw satellite and reanalysis files, not bundled (public sources listed below) Figs/slush_study/slush_obsidian/Figs/final figure folders; provenance in SOURCES.md (included as an appendix of README.html)
Each final figure folder holds only the file submitted to Nature plus legend.md (and script.md for ED Fig. 2); every other version sits in that folder's extras/ subfolder.
Python environments: slush_study/.venv (Python 3.14, matplotlib 3.11) for slush_study/prog, and MODIS_blue_slush/.venv for MODIS_blue_slush/prog. Run scripts from the root folder with MPLBACKEND=Agg .venv/bin/python prog/<script>.py.
Common export conventions (2026-11-23 to 2026-11-25)
save_ED_jpeg(fig, path) (defined at the top of barchart_slush_area_JJA_annually_basins.py, map_NDWI_SVM_S2_20210823.py and plot_modis_vs_olci_jja_area_by_sector.py): renders at 600 dpi, flattens to RGB, resamples to fit within 2126 × 2008 px (180 × 170 mm at 300 dpi), JPEG quality 95, tagged 300 dpi. This writes the Extended Data submission file Figs/ED Fig N …/ED Fig N.jpg.
show_script_path = 0: the script-path watermark is off in the Nature artwork (set it to 1 for working plots).
do_export_ED_fig = 1 / do_export_vector = 1: write the Nature files. Working PDFs/PNGs go to the figure folder's extras/. EPS files in extras/ were made from the PDF with pdftocairo -eps and are not written by the scripts.
- Fonts: Arial (Type 42) at 5–7 pt; mathtext set to Arial in ED Fig. 2.
Main figures ItemSubmission file (in Figs/)Scripts / layout filesInputs (study-derived unless noted)Script outputs Fig. 1Fig 1 map/Fig_1_map_300_DPI_export_from_Illustrator.jpg (vector Fig_1_slush_maps_v3.pdf is the Illustrator layout)slush_study/prog/frequency/frequency_class_days_output_monthly_and_JJA.py → slush_study/prog/class_frequency_multiyear.py → slush_study/prog/mask_slush_tif.py; QGIS slush_study/GIS/slush_maps.qgz (layouts "slush map all", "slush map SE"); final layout in Adobe Illustratorslush_study/output/counts/flooded_snow_<2017–2025>_JJA_on_CARRA_v4.tif; flooded_snow_2017-2024_JJA_on_CARRA_v4_masked.tif (the slush layer switched on in the QGIS project); slush_mean_frequency_2017-2025_JJA.tif; MODIS_blue_slush/stats/NDBI_median11_2012_JJA_daycount_thr045.tif (MODIS layer); CARRA/ancil/CARRA_west_mask_Greenland.tif; Greenland map/Mouginot_sectors/Greenland_Basins_top7_subpolygons.shp (public, doi:10.7280/D1WT11); ice slabs, firn aquifers, BedMachine and contours (public)slush_study/output/counts/flooded_snow_2017-2025_JJA_on_CARRA_v4.tif, slush_mean_frequency_2017-2025_JJA.tif; QGIS exports Figs/Fig 1 map/slush_map_all_300_DPI.jpg, slush_map_SE_inset_300_DPI.jpg Fig. 2Fig 2 absorption spectra/Fig_2_absorption_spectra.pdf (Illustrator)Right panel: slush_study/prog/plot_absorption_spectrum.py (do_export_vector = 1); left panel: slush_study/Figs/N Greenland slush/slush_79_2019-08-02.ai (Illustrator, links slush_79_S2.jpg; embed it before submission)slush_study/data/absoprtion_kok.csv; Sentinel-2 true-colour image slush_study/Figs/N Greenland slush/slush_79_S2.jpg (2 Aug 2019; Sentinel-2 public)slush_study/Figs/plot_absorption_spectrum_vector.pdf, .eps, .png → Figs/Fig 2 absorption spectra/right_panel_Fig_2_spectra_panel.pdf, .eps Fig. 3Fig 3 albedo vs blueness/Fig_3.pdf (also .eps, .png)slush_study/prog/comp_NDXI_albedo_within_classes_aggregated.py (do_export_vector = 1)OLCI TOA blueness and broadband albedo 0_dat/S3/opendap/<region>/<year>/<date>_r_TOA_NDXI_0308.tif, _BBA_empirical.tif (public, thredds.geus.dk); SVM classes 0_dat/S3/class_and_proba_v4/<year>/…_SICE_surface_classes.tif, _SICE_probability.tif; Greenland map/Mouginot_sectors/basins_GrIS_done.tif. Cached pixel pairs slush_study/Figs/scatter_within_class/NDIX_vs_albedo_all_aggregated_v4_xy.npz let the figure be redrawn without the raw scenesslush_study/Figs/scatter_within_class/NDIX_vs_albedo_all_aggregated_v4.png, .pdf, .eps → Figs/Fig 3 albedo vs blueness/Fig_3.* Fig. 4Fig 4 schematic/Fig_4_slush_schematic.pdfFigs/Fig 4 schematic/slush schematic v10.ai (drawing); panel e series from MODIS_blue_slush/prog/plot_cmip6_ssp_cumulative_melt_excess.pyMODIS_blue_slush/stats/CMIP6_SSP_melt_excess_paper_slope5.3_timeseries_2000_2100.csv (CMIP6 MPI-ESM1-2-LR, IPSL-CM6A-LR, MIROC-ES2L, Copernicus CDS)as ED Table 3 Table 1in the manuscriptslush_study/prog/CARRA_snow_rain_t2m_on_basins.py → slush_study/prog/hypsometry/slush_hypsometry_across_basins.py → slush_study/prog/sensitivity/barchart_mult_regress_slush_dependence_T2m_rain_snow.pyCARRA seasonal grids (CARRA_JJA_geotiffs_<year>.tar.gz on Dataverse; Copernicus CDS); slush_study/output/counts/slush_study/stats/regression_results_*2017-2025*.csv, single_regression_results_*2017-2025*.csv, stats/basin_integration/*.csv, stats/slush_count_hypsometry/*.csv
Extended Data ItemSubmission file (in Figs/)Scripts / layout filesInputsScript outputs ED Fig. 1ED Fig 1 summer blue slush area by year/ED_Fig_1.jpgslush_study/prog/barchart_slush_area_JJA_annually_basins.py (do_export_ED_fig = 1, show_script_path = 0, save_ED_jpeg)slush_study/output/counts/flooded_snow_<2017–2025>_JJA_on_CARRA_v4.tif; Greenland map/Mouginot_sectors/<region>_no_sub_basins.shp (all, SW, CW, NW, NO, NE, CE, SE); slush_study/stats/basin_integration/t2m_JJA_regions.csvED_Fig_1.jpg; extras/ED_Fig_1.pdf, .png (.eps from the PDF); slush_study/stats/areas/<region>_slush_area_JJA_flooded_snow_ge1d_km2_2017-2025.csv. Caution: with basin_regions = ['all'] the run also overwrites stats/areas/slush_area_JJA_flooded_snow_ge1d_km2_2017-2025_basins.csv and _wide.csv with the 'all' rows only; rebuild them from the eight per-region CSVs (72 rows), as done 2026-11-23 ED Fig. 2ED Fig 2 modis vs olci blue area by sector/ED_Fig_2.jpg (2126 × 1932 px)MODIS_blue_slush/prog/plot_modis_vs_olci_jja_area_by_sector.py (save_ED_jpeg, show_script_path = 0, show_suptitle = 0; markers 2.5 pt, lines ≤ 1 pt, axes.titlepad = 2, 2026-11-25); see script.md in the folderMODIS daycounts MODIS_blue_slush/stats/NDBI_median11_<2000–2025>_JJA_daycount_thr060/070/080.tif (built from 0_dat/MOD09_blue_slush/dominant/<year>/NDBI_median11_MOD09GA_<date>_CARRA25km_ice.tif when missing; 2024–2025 are read for the full-period table but not plotted, do_include_questionable_years = 0); OLCI slush_study/output/counts/flooded_snow_<2017–2025>_JJA_on_CARRA_v4.tif; Greenland map/Mouginot_sectors/Mbasins_on_CARRA_grid.tifED_Fig_2.jpg; extras/ED_Fig_2.pdf, .png; MODIS_blue_slush/stats/NDBI_median11_JJA_footprint_ge2d_by_sector_thr070_envelope_y2000_2025.csv, OLCI_flooded_snow_JJA_footprint_ge1_ge2_ge3_by_sector_y2017_2025.csv, MODIS_NDBI070_ge2d_vs_OLCI_flooded_snow_ge2d_JJA_area_by_sector_summary.csv; working PNG MODIS_blue_slush/Figs/MODIS_NDBI070_ge2d_vs_OLCI_flooded_snow_ge2d_JJA_area_by_sector.png ED Fig. 3ED Fig 3 projected slush elevation rise/ED_3_map_projections_300_DPI_export_from_Illustrator.jpgslush_study/prog/hypsometry/slush_hypsometry_across_basins.py → slush_study/prog/isolines_perturbed_slush_elevation.py; QGIS slush_study/GIS/slush_maps/slush_maps_w_projections.qgz (layout "slush map all scenarios"); Illustrator layout slush_study/GIS/slush_maps/slush_maps_projections.pdf (submission JPEG exported from Illustrator; extras/ED_3_map_projections.pdf is the vector layout). slush_study/prog/hypsometry/isohyets_slush_hypsometry_shapefile_by_basin.py makes per-year isohyets (earlier step, not drawn)slush_study/stats/single_regression_results_Median_Elevation_m_2017-2025_regions.csv; CARRA/ancil/CARRA_west_elev.tif; Greenland map/Mouginot_sectors/<region>_no_sub_basins.shp; base layers as Fig. 1slush_study/GIS/isolines/7_basins_isoline_Median_Elevation_m_reference.shp, _plus2xSlope.shp, _plus4xSlope.shp (+2 °C and +4 °C steps: median elevation + 2× and 4× the elevation–temperature slope; not CMIP6 runs) ED Fig. 4ED Fig 4 southwest test 23 aug 2021/ED_Fig_4.jpgslush_study/prog/map_NDWI_SVM_S2_20210823.py (do_export_ED_fig = 1, show_script_path = 0, save_ED_jpeg); QGIS slush_study/GIS/2021-08-23.qgzSentinel-2 RGB 0_dat/S2/67_47/2021-08-23_67_47_B_RGB_432.tif (public); OLCI NDBI 0_dat/S3/opendap/Greenland_500m/2021/2021-08-23_r_TOA_NDXI_0308.tif; SVM 0_dat/S3/class_and_proba_v4/2021/2021_08_23_SICE_surface_classes.tif, _SICE_probability.tif; expert outlines slush_study/GIS/validation_polygons/2021-08-23_67_47_slush_v2.shp, 2021-08-23_67_47_exclude.shpED_Fig_4.jpg; working slush_study/Figs/ndxi_SVM_S2_RGB_2021-08-23_SW.png; GIS/validation_polygons/2021-08-23_67_47_SVM_slush.shp only with do_export_svm_shp = 1 ED Fig. 5ED Fig 5 daily vs 11 day mode/ED_Fig_5.jpgslush_study/prog/classes_v_time_using_mode.py (11-day modal classes); slush_study/prog/regrid_classes_to_CARRA.py; Illustrator layout extras/2019-08-04_classes_map.pdf (JPEG rendered from it at 600 dpi and resampled to 2126 px wide)SVM classes 0_dat/S3/class_and_proba_v4/<year>/…; Greenland map/Mouginot_sectors/basins_GrIS_done.tif0_dat/S3/class_and_proba_v4/dominant/… (bundled as SWM_geotiffs_2017-2025_on_CARRA_grid.tar.gz) ED Table 1ED Table 1 modis regional slush area trends/ED_Table_1.docxMODIS_blue_slush/prog/plot_modis_vs_olci_jja_area_by_sector.pyas ED Fig. 2as ED Fig. 2 (…_area_by_sector_summary.csv) ED Table 2ED Table 2 slush elevation regression on carra climate/ED_Table_2.docxMODIS_blue_slush/prog/mlr_ndbi_elev_carra_climate.py (headline period 2000–2023; 2000–2025 also written)daily MODIS NDBI 0_dat/MOD09_blue_slush/dominant/; Mbasins_on_CARRA_grid.tif; CARRA/ancil/CARRA_west_elev.tif; daily CARRA `<root>/<t2mrainsnow>/<YYYY>/<date>.tif (script default /Volumes/LaCie/0_dat/CARRA/output; a copy is on /Volumes/WD20Tb/0_dat/CARRA/output`; Copernicus CDS)MODIS_blue_slush/stats/MLR_NDBI045_elev_CARRA_by_sector_y2000_2023.csv, _coeffs_y2000_2023.csv, _summary_y2000_2023.txt ED Table 3ED Table 3 cmip6 cumulative excess melt/ED_Table_3.docxMODIS_blue_slush/prog/plot_cmip6_ssp_cumulative_melt_excess.pyMODIS_blue_slush/stats/CMIP6_SSP_melt_excess_paper_slope5.3_timeseries_2000_2100.csvCMIP6_SSP_melt_excess_paper_slope5.3_cumulative_vs_baseline.csv, _cumulative_timeseries_2020_2075.csv, _projection_horizons.csv ED Table 4ED Table 4 slush area regression on carra climate/ED_Table_4.docxMODIS_blue_slush/prog/mlr_ndbi_area_carra_climate.pyas ED Table 2MODIS_blue_slush/stats/MLR_NDBI045_area_CARRA_by_sector_y2000_2023.csv, _coeffs_y2000_2023.csv, _summary_y2000_2023.txt
Supplementary Information ItemScriptsInputs / outputs Supp. Fig. 1MODIS_blue_slush/prog/plot_modis_vs_slush_study_jja_area.pyreads MODIS_blue_slush/stats/NDBI_median11_JJA_footprint_ge1d_area0{60,70,80}_annual_y2000_2025.csv, OLCI_flooded_snow_JJA_footprint_ge1_ge2_ge3_CARRA_km2.csv; writes MODIS_NDBI070_ge2d_vs_OLCI_flooded_snow_ge2d_JJA_area_overlap_y2000_2023.csv, _y2000_2025.csv, MODIS_NDBI070_ge2d_thr_envelope_y2000_2025.csv Supp. Fig. 2slush_study/prog/hypsometry/plot_flooded_snow_elevation_multi_years.pyslush_study/Figs/slush_hypsometry/flooded_snow_elevation_binned_2019_2021_78N_25m_multi_years_2019-2021.png Supp. Fig. 3CARRA/CARRA_seasonal_monthly/src/map_CARRA_trend.pyCARRA seasonal grids (Copernicus CDS) Supp. Figs 4–5, Supp. Table 2none (training figures and table inside the SI document)—
Methods-only code (no display item)
CARRA/prog/gather_CARRA_rf_sf_t2m_albedo_etc.py (CARRA download); CARRA/CARRA_seasonal_monthly/src/CARRA_month_seasonal_tif_from_grib.py; slush_study/prog/SEB/CARRA_output_geotiff_daily_and_monthly_mean_csv.py; slush_study/prog/SEB/SEB_daily_by_class_basin_scale.py and plot_slush_melt_from_SEB_daily_by_class_and_measure_T2m_dependence.py (slush melt excess; slush_study/stats/SEB/*.csv); slush_study/prog/SEB/plot_slush_melt_vs_t2m_and_make_projection.py, slush_study/prog/future_JJA_projeciton.py (excess-melt projection); slush_study/prog/slope_vs_slush.py; MODIS_blue_slush/prog/compare_modis_ndbi_olci_jja_daycount.py; MODIS processing notes MODIS_blue_slush/00_workflow.md … 21_*.md.
Dataverse files
- October 2026 package (staged at
/Users/jason/0_dat/slush_datasets/submission3_20261015): Box_slush_code.zip, Box_slush_derived.zip, Box_MODIS_code.zip, Box_MODIS_derived.zip, each with MANIFEST.csv (relative path, item, bytes, MD5).
- 25 November 2026 update:
slush_study/dataverse/slush_dataverse_update_20261125.zip with only new and changed files, this map, README.html, SOURCES.md and MANIFEST.csv (path, bytes, SHA-256, item, which earlier file it replaces).
- March 2026 archives (
CARRA_JJA_geotiffs_<year>.tar.gz, SWM_geotiffs_2017-2025_on_CARRA_grid.tar.gz, CARRA_west_mask_Greenland.tif, Mbasins_on_CARRA_grid.tif) are still current.
Left out on purpose
- Raw MODIS MOD09GA reflectance and Earth Engine exports (the NDBI day counts are the study product).
- CARRA/ERA5 grib and daily CARRA GeoTIFFs: Copernicus Climate Data Store, https://cds.climate.copernicus.eu/
- Sentinel-3 OLCI scenes and SICE products: https://thredds.geus.dk/ ; Sentinel-2 scenes: Copernicus.
- CMIP6 model files (MPI-ESM1-2-LR, IPSL-CM6A-LR, MIROC-ES2L); the small result tables are bundled.
- BedMachine v5, Mouginot basins (https://doi.org/10.7280/D1WT11; the study's regional merges
<region>_no_sub_basins.shp are bundled), published ice-slab and firn-aquifer outlines.
- The Obsidian vault (it has the reply to reviewers and a private Dataverse link), virtual environments, run logs.
October 2026 → final numbering October 2026 zips / _codebase.txtFinal manuscript Fig. 1, Fig. 2, Table 1unchanged Fig. 3 (schematic)Fig. 4 Extended Data Fig. 2 (albedo vs blueness)Fig. 3 Extended Data Fig. 3 (MODIS vs OLCI by sector)ED Fig. 2 Extended Data Fig. 4 (isohyets / projected slush elevation)ED Fig. 3 Extended Data Fig. 5 (southwest test, 23 Aug 2021)ED Fig. 4 Extended Data Fig. 6 (daily vs 11-day mode)ED Fig. 5 Extended Data Fig. 1, ED Tables 1–4, Suppl. itemsunchanged
Appendix: figure data sources (SOURCES.md)
This appendix is the figure provenance log kept in slush_obsidian/Figs/SOURCES.md. It records, for every final figure and table folder, which script, QGIS project or Illustrator file made each file, from which inputs, and every regeneration (dated, Europe/Copenhagen or the stated offset). Paths are shown relative to the roots in "How to read the paths" above; Figs/ means slush_study/slush_obsidian/Figs/. Raw inputs under 0_dat/ are not bundled.
Sources of files in slush_obsidian/Figs
Organised one subfolder per figure. Folder moved on 2026-11-23 from slush_study/Figs/_final to slush_study/slush_obsidian/Figs; paths below are relative to this folder.
Fig 4 schematic/
Fig 4 schematic/Fig. 4 slush schematic.png copied 2026-11-23 09:52 +03 from slush_study/Figs/schematic/Fig. 4 slush schematic.png
Fig 4 schematic/slush schematic v10.ai copied 2026-11-23 09:52 +03 from slush_study/Figs/schematic/slush schematic v10.ai
- Scripts (added 2026-11-23):
- Drawing:
slush schematic v10.ai (copied above)
- Panel e series:
MODIS_blue_slush/prog/plot_cmip6_ssp_cumulative_melt_excess.py (per the map, panel e uses the same cumulative excess-melt series as Extended Data Table 4)
- Upstream data:
MODIS_blue_slush/stats/CMIP6_SSP_melt_excess_paper_slope5.3_timeseries_2000_2100.csv (CMIP6 MPI-ESM1-2-LR, IPSL-CM6A-LR, MIROC-ES2L from https://cds.climate.copernicus.eu/)
Fig 1 map/
- Note:
Fig 1 map/slush_maps_v3.pdf was created and edited in Adobe Illustrator (Illustrator 29.8 PDF); it is the final layout step and is not updated by re-running the scripts below.
Fig 1 map/slush_maps_v3.pdf copied 2026-11-23 10:01 +0300 from slush_study/GIS/slush_maps/slush_maps_v3.pdf
Fig 1 map/slush and melted snow map multi v3.jpg copied 2026-11-23 10:01 +0300 from slush_study/GIS/slush_maps/slush and melted snow map multi v3.jpg
Fig 1 map/slush_maps.qgz copied 2026-11-23 10:03 +0300 from slush_study/GIS/slush_maps.qgz
- Scripts (added 2026-11-23 from
prog/_codebase_WORKFLOW_MAP.md; paths checked on disk):
slush_study/prog/frequency/frequency_class_days_output_monthly_and_JJA.py (daily OLCI classes to monthly/JJA counts regridded to CARRA, written to slush_study/output/counts/)
slush_study/prog/class_frequency_multiyear.py (multi-year mean class frequency; its docstring says it feeds the Fig. 1 slush maps)
slush_study/prog/mask_slush_tif.py (masks non-ice; writes slush_study/output/counts/slush_mean_frequency_2017-2025_JJA.tif)
slush_study/GIS/slush_maps.qgz (QGIS layout; layer paths are relative to GIS/, so the copy in this folder will not resolve them)
- Upstream data (from the script input paths and the QGIS layer list; all found on disk):
- Sentinel-3 OLCI SICE surface-class rasters (SVM classes/probability):
0_dat/S3/class_and_proba_v4/ and Dropbox/S3/SICE_Classes2/
- JJA blue slush counts on the CARRA grid:
slush_study/output/counts/flooded_snow_*_JJA_on_CARRA_v4.tif, slush_mean_frequency_2017-2025_JJA.tif
- CARRA grid and mask:
CARRA/ancil/CARRA_west_elev.tif, CARRA/ancil/CARRA_west_mask_Greenland.tif (CARRA public source: https://cds.climate.copernicus.eu/)
- Ice slabs:
Dropbox/slabs/Cuberg et al 2024/IceSlabs_2017_GTE1.shp
- Firn aquifers:
Dropbox/Aquifer/FirnAquifers_zero_polygons.shp
- Drainage basins (Mouginot):
Dropbox/Greenland map/Mouginot_sectors/Greenland_Basins_top7_subpolygons.shp (public: https://doi.org/10.7280/D1WT11)
- Elevation/contours:
Dropbox/500m_grid/BedMachineGreenland-2017-09-20_surface_500m.tif, Dropbox/Greenland map/500 m contours/500 m contours.shp
- Slush outlines:
slush_study/GIS/slush/slush_JJA_2017-2024_exclude_under_9_days_clumped_at_3.shp
Fig 3 albedo vs blueness/
Fig 3 albedo vs blueness/NDIX_vs_albedo_all_aggregated_v4.png.bak_20261123 is a backup of the pre-regeneration PNG (original export dated 2026-03-04), copied from Figs/scatter_within_class/NDIX_vs_albedo_all_aggregated_v4.png before the vector re-export.
Fig 3 albedo vs blueness/Fig 3.png, Fig 3.pdf and Fig 3.eps copied 2026-11-23 13:08 +0300 from slush_study/Figs/scatter_within_class/NDIX_vs_albedo_all_aggregated_v4.{png,pdf,eps} after regenerating the figure. The long-named PNG in this folder was refreshed to the same 300 dpi RGB file.
- Regeneration (2026-11-23):
MPLBACKEND=Agg slush_study/.venv/bin/python slush_study/prog/comp_NDXI_albedo_within_classes_aggregated.py with do_export_vector = 1. Writes an 88 mm × 82 mm RGB figure (7 pt labels, 6 pt ticks, Type-42 Arial) as Figs/scatter_within_class/NDIX_vs_albedo_all_aggregated_v4.png (300 dpi), .pdf and .eps. Script backup: prog/comp_NDXI_albedo_within_classes_aggregated.py.bak_20261123.
- Scripts (added 2026-11-23; export flag added the same day):
slush_study/prog/comp_NDXI_albedo_within_classes_aggregated.py (writes Figs/scatter_within_class/NDIX_vs_albedo_all_aggregated_v4.png; with do_export_vector = 1 also .pdf and .eps)
- Upstream data (from the script input paths):
- Sentinel-3 OLCI TOA blueness index and empirical broadband albedo per date:
0_dat/S3/opendap/<region>/<year>/<date>_r_TOA_NDXI_0308.tif and <date>_BBA_empirical.tif (public source per map: https://thredds.geus.dk/)
- SVM surface classes and probability:
0_dat/S3/class_and_proba_v4/<year>/<date>_SICE_surface_classes.tif, _SICE_probability.tif (slush = class 3)
- Basins:
Dropbox/Greenland map/Mouginot_sectors/basins_GrIS_done.tif
Fig 2 absorption spectra/
- Note:
Fig 2 absorption spectra/absorption_spectra_figure.pdf was created and edited in Adobe Illustrator (Illustrator 29.8 PDF); it is the final layout step and is not updated by re-running the scripts below. The new spectra-panel PDF/EPS is meant to be placed in that Illustrator layout, replacing the flattened spectra PNG. The leftmost Sentinel-2 panel stays a raster image (photo-like panel; 300 dpi or more at final size).
Fig 2 absorption spectra/absorption spectra figure.jpg copied 2026-11-23 10:28 +0300 from slush_study/Figs/absorption_spectra/absorption spectra figure.jpg
Fig 2 absorption spectra/absorption_spectra_figure.pdf copied 2026-11-23 10:28 +0300 from slush_study/Figs/absorption_spectra/absorption_spectra_figure.pdf
- Edited in place by Jason in Illustrator 2026-11-23 13:19 +0300 (4,108,575 bytes); this folder's copy is now the working final and differs from the July 2025 original in
Figs/absorption_spectra/. absorption spectra figure.jpg is still the July 2025 export and does not reflect the edit.
Fig 2 absorption spectra/right panel Fig 2 spectra panel.pdf (renamed by Jason 2026-11-23 13:24; was Fig 2 spectra panel.pdf) copied 2026-11-23 13:15 +0300 (regenerated: no outlines on shaded bands, "peak" line removed, text enlarged 25% to 8.75 pt labels and 7.5 pt ticks and legend, legend border halved, bands alpha 0.5) from slush_study/Figs/plot_absorption_spectrum_vector.pdf (85.00 × 70.83 mm, RGB, live embedded Helvetica and ArialMT as CID TrueType / Type 42; axis labels 7 pt, ticks and legend 6 pt; y-label uses Helvetica because Arial lacks U+207B superscript minus)
Fig 2 absorption spectra/right panel Fig 2 spectra panel.eps (renamed by Jason 2026-11-23 13:24) copied 2026-11-23 13:15 +0300 from slush_study/Figs/plot_absorption_spectrum_vector.eps (matplotlib EPS, same page size and fonts; shaded RGB bands are opaque because the PostScript backend does not support transparency)
Fig 2 absorption spectra/left panel Fig 2 annotated raster image - slush_79_2019-08-02.ai (renamed by Jason 2026-11-23 13:24; was slush_79_2019-08-02.ai) (left Sentinel-2 panel, Illustrator 29.6) copied 2026-11-23 13:23 +0300 from slush_study/Figs/N Greenland slush/slush_79_2019-08-02.ai; its linked image slush_79_S2.jpg stays in that source folder
- Scripts:
slush_study/prog/plot_absorption_spectrum.py (do_export_vector = 1 writes Figs/plot_absorption_spectrum_vector.pdf, .eps, and a 300 dpi .png preview at 85 mm × 70.83 mm with live Type-42 text. The original large PNG, Figs/plot_absorption_spectrum.png, is unchanged: that save is still behind ly == 'p', which remains 'x'. Script backup: plot_absorption_spectrum.py.bak_20261123.)
- Left (Sentinel-2) panel, Illustrator file (located 2026-11-23):
slush_study/Figs/N Greenland slush/slush_79_2019-08-02.ai (Illustrator 29.6, saved 2025-08-02 17:57; labels 'blue slush' and 'snow', 950 m and 1000 m contours, 0–1,500 m scale bar). It places the linked image slush_study/Figs/N Greenland slush/slush_79_S2.jpg (2025-08-02; also referenced by name in absorption_spectra_figure.pdf); an SVG export sits beside it, slush_79_2019-08-02.svg.
- Composite/Illustrator file for the final figure:
absorption_spectra_figure.pdf itself (Illustrator 29.8 PDF). 2023-07-09 slush KPC.qgz in the same folder belongs to the KPC_U figure (N Greenland slush.pdf), not to Fig 2.
- Upstream data:
- Spectrum table:
slush_study/data/absoprtion_kok.csv (read by the script)
- Sentinel-2 true-colour image for the left panel:
Figs/N Greenland slush/slush_79_S2.jpg (2 Aug 2019 per the .ai file name); the original Sentinel-2 GeoTIFF and the QGIS project that exported it were not located.
- Elevation/contours:
Dropbox/500m_grid/BedMachineGreenland-2017-09-20_surface_500m.tif, Dropbox/Greenland map/50 m contours/50 m contours.shp
- Regeneration (2026-11-23 13:07 +0300):
MPLBACKEND=Agg slush_study/.venv/bin/python slush_study/prog/plot_absorption_spectrum.py
- Then copied the PDF and EPS into
slush_obsidian/Figs/Fig 2 absorption spectra/ as Fig 2 spectra panel.pdf and .eps (since renamed right panel Fig 2 spectra panel.pdf/.eps).
ED Fig 1 summer blue slush area by year/
ED Fig 1 summer blue slush area by year/ED Fig 1 placeholder.png placeholder extracted 2026-11-23 (embedded image1.png, original resolution) from slush_study/doc/NCC/accepted/doc final/Extended Data.docx; legend.md holds its legend text
- Scripts:
slush_study/prog/barchart_slush_area_JJA_annually_basins.py
- Upstream data: OLCI JJA slush counts
slush_study/output/counts/flooded_snow_<year>_JJA_on_CARRA_v4.tif; basins Dropbox/Greenland map/Mouginot_sectors/<basin>_no_sub_basins.shp; CARRA T2m slush_study/stats/basin_integration/t2m_JJA_regions.csv
ED Fig 2 modis vs olci blue area by sector/
ED Fig 2 modis vs olci blue area by sector/ED Fig 2 placeholder.png placeholder extracted 2026-11-23 (embedded image2.png) from slush_study/doc/NCC/accepted/doc final/Extended Data.docx; legend.md holds its legend text
- Scripts:
MODIS_blue_slush/prog/plot_modis_vs_olci_jja_area_by_sector.py
- Upstream data: MODIS MOD09GA 11-day median NDBI on the CARRA grid
0_dat/MOD09_blue_slush/dominant/<year>/NDBI_median11_MOD09GA_<date>_CARRA25km_ice.tif (raw MOD09 is public and not bundled); OLCI counts slush_study/output/counts/flooded_snow_<year>_JJA_on_CARRA_v4.tif; basins Dropbox/Greenland map/Mouginot_sectors/Mbasins_on_CARRA_grid.tif
ED Fig 3 projected slush elevation rise/
- Note:
ED Fig 3 projected slush elevation rise/slush_maps_projections.pdf was created and edited in Adobe Illustrator (Illustrator 29.8 PDF); it is the final layout step and is not updated by re-running the scripts below.
ED Fig 3 projected slush elevation rise/slush and melted snow map multi v2025 scenarios.png (QGIS layout export, 2025-11-11) copied 2026-11-23 12:13 +0300 from slush_study/GIS/slush_maps/slush and melted snow map multi v2025 scenarios.png
ED Fig 3 projected slush elevation rise/slush_maps_projections.pdf copied 2026-11-23 12:13 +0300 from slush_study/GIS/slush_maps/slush_maps_projections.pdf
ED Fig 3 projected slush elevation rise/ED Fig 3 placeholder.png placeholder extracted 2026-11-23 (embedded image3.png) from slush_study/doc/NCC/accepted/doc final/Extended Data.docx; legend.md holds its legend text
- Scripts (updated 2026-11-23 12:15 +03):
- QGIS project upstream of the final figure:
slush_study/GIS/slush_maps/slush_maps_w_projections.qgz (created by Jason 2026-11-23; layout "slush map all scenarios"; layer paths relative to GIS/slush_maps/)
- Isolines:
slush_study/prog/isolines_perturbed_slush_elevation.py (reference isoline at each basin's median slush elevation, plus +2 °C and +4 °C isolines at median + 2× and 4× the elevation-vs-temperature slope; contours with gdal_contour, clipped 3 km from basin boundaries; writes GIS/isolines/)
- Preceded by
slush_study/prog/hypsometry/slush_hypsometry_across_basins.py (per the isoline script docstring) and slush_study/prog/hypsometry/isohyets_slush_hypsometry_shapefile_by_basin.py (per the workflow map)
- Final layout (Illustrator-edited PDF, downstream of the QGIS project):
slush_study/GIS/slush_maps/slush_maps_projections.pdf
- Upstream data:
- Isolines used by the project:
slush_study/GIS/isolines/7_basins_isoline_Median_Elevation_m_reference.shp, 7_basins_isoline_Median_Elevation_m_plus2xSlope.shp, 7_basins_isoline_Median_Elevation_m_plus4xSlope.shp
- Isoline inputs: regression table
slush_study/stats/single_regression_results_Median_Elevation_m_2017-2025_regions.csv (columns mean_elev_median, slope); CARRA elevation CARRA/ancil/CARRA_west_elev.tif; basins Dropbox/Greenland map/Mouginot_sectors/<basin>_no_sub_basins.shp; hypsometry slush_study/stats/slush_count_hypsometry/
- Base map layers as in Fig 1 (slush counts, Mouginot basins https://doi.org/10.7280/D1WT11, BedMachine surface, contours, coastline)
- Note: the isolines are fixed +2 °C/+4 °C warming steps, not CMIP6 SSP runs; check against the legend's SSP wording and the RCP label in the placeholder image
ED Fig 4 southwest test 23 aug 2021/
ED Fig 4 southwest test 23 aug 2021/ED Fig 4 placeholder.png placeholder extracted 2026-11-23 (embedded image4.png) from slush_study/doc/NCC/accepted/doc final/Extended Data.docx; legend.md holds its legend text
- Scripts:
slush_study/prog/map_NDWI_SVM_S2_20210823.py
- Upstream data: Sentinel-2 RGB
0_dat/S2/67_47/2021-08-23_67_47_B_RGB_432.tif; OLCI NDBI 0_dat/S3/opendap/Greenland_500m/2021/2021-08-23_r_TOA_NDXI_<bands>.tif; SVM classes/probability 0_dat/S3/class_and_proba_v4/2021/2021_08_23_SICE_surface_classes.tif, _SICE_probability.tif; expert outlines slush_study/GIS/validation_polygons/2021-08-23_67_47_slush_v2.shp, ..._exclude.shp, ..._SVM_slush.shp
ED Fig 5 daily vs 11 day mode/
- Note:
ED Fig 5 daily vs 11 day mode/2019-08-04 classes map.pdf was created and edited in Adobe Illustrator (Illustrator 29.8 PDF); it is the final layout step and is not updated by re-running the scripts below.
- Contents arranged by Jason 2026-11-23 12:25 +0300 (placeholder removed); sources in
slush_study/Figs/2019-08-04 class map/:
ED Fig 5 daily vs 11 day mode/ED Fig 5.jpg: final figure, identical to slush_study/Figs/2019-08-04 class map/2019-08-04 classes map.jpg (2025-06-23)
ED Fig 5 daily vs 11 day mode/2019-08-04 classes map.pdf: Illustrator layout (saved 2026-11-23 12:24 with Illustrator 29.8); from slush_study/Figs/2019-08-04 class map/2019-08-04 classes map.pdf
ED Fig 5 daily vs 11 day mode/2019-08-04 classes map instantaneous.png and 2019-08-04 classes map modal.png: panels a and b (2025-06-23), from the same folder
legend.md holds the legend text
- Scripts:
slush_study/prog/classes_v_time_using_mode.py
- Upstream data: SVM classes/probability
0_dat/S3/class_and_proba_v4/<year>/<date>_SICE_surface_classes.tif, _SICE_probability.tif; writes 0_dat/S3/class_and_proba_v4/dominant/; basins Dropbox/Greenland map/Mouginot_sectors/basins_GrIS_done.tif; public source per the map: https://thredds.geus.dk/
ED Table 1 modis regional slush area trends/
ED Table 1 modis regional slush area trends/ED Table 1.docx placeholder extracted 2026-11-23 (table, title and definitions table) from slush_study/doc/NCC/accepted/doc final/Extended Data.docx; legend.md holds its title and notes
- Scripts:
MODIS_blue_slush/prog/plot_modis_vs_olci_jja_area_by_sector.py
- Upstream data: as for ED Fig 2 (MODIS NDBI in
0_dat/MOD09_blue_slush/dominant; raw MOD09 is public and not bundled)
ED Table 2 slush elevation regression on carra climate/
ED Table 2 slush elevation regression on carra climate/ED Table 2.docx placeholder extracted 2026-11-23 from slush_study/doc/NCC/accepted/doc final/Extended Data.docx; legend.md holds its title and notes
- Scripts:
MODIS_blue_slush/prog/mlr_ndbi_elev_carra_climate.py
- Upstream data: MODIS NDBI
0_dat/MOD09_blue_slush/dominant; basins Dropbox/Greenland map/Mouginot_sectors/Mbasins_on_CARRA_grid.tif; CARRA elevation CARRA/ancil/CARRA_west_elev.tif; CARRA daily fields /Volumes/LaCie/0_dat/CARRA/output (not found on disk; LaCie drive not mounted; public source https://cds.climate.copernicus.eu/); results MODIS_blue_slush/stats/MLR_NDBI045_elev_CARRA_by_sector*.csv
ED Table 3 slush area regression on carra climate/
ED Table 3 slush area regression on carra climate/ED Table 3.docx placeholder extracted 2026-11-23 from slush_study/doc/NCC/accepted/doc final/Extended Data.docx; legend.md holds its title and notes
- Scripts:
MODIS_blue_slush/prog/mlr_ndbi_area_carra_climate.py
- Upstream data: MODIS NDBI
0_dat/MOD09_blue_slush/dominant; basins Dropbox/Greenland map/Mouginot_sectors/Mbasins_on_CARRA_grid.tif; CARRA daily fields /Volumes/LaCie/0_dat/CARRA/output (not found on disk; LaCie drive not mounted; public source https://cds.climate.copernicus.eu/); results MODIS_blue_slush/stats/MLR_NDBI045_area_CARRA_by_sector*.csv
ED Table 4 cmip6 cumulative excess melt/
ED Table 4 cmip6 cumulative excess melt/ED Table 4.docx placeholder extracted 2026-11-23 (both sub-tables and notes) from slush_study/doc/NCC/accepted/doc final/Extended Data.docx; legend.md holds its title and notes, with "Figure 3e" → "Fig. 4e" applied there only
- Scripts:
MODIS_blue_slush/prog/plot_cmip6_ssp_cumulative_melt_excess.py
- Upstream data:
MODIS_blue_slush/stats/CMIP6_SSP_melt_excess_paper_slope5.3_timeseries_2000_2100.csv (CMIP6 MPI-ESM1-2-LR, IPSL-CM6A-LR, MIROC-ES2L from https://cds.climate.copernicus.eu/)
ED Fig 1 summer blue slush area by year/: regenerated 2026-11-23 11:52 +0300
- Outputs:
ED Fig 1.png (300 dpi, 2877×1689 px), ED Fig 1.svg (svg.fonttype none, so text stays text), ED Fig 1.pdf (pdf.fonttype 42), ED Fig 1.eps (made from the PDF on the Grok box with pdftocairo -eps "ED Fig 1.pdf" "ED Fig 1.eps"; ArialMT embedded; cairo rasterises only the semi-transparent areas, because matplotlib's own EPS writer drops transparency)
- Script, edited in place:
slush_study/prog/barchart_slush_area_JJA_annually_basins.py. The pre-edit original is barchart_slush_area_JJA_annually_basins.py.bak_20261123 in the same folder.
- Restyle to match the Extended Data placeholder:
annotate_t2m_anomaly = 0 (no T2m labels on bars), no title, the right-hand footer path removed (only the lower-left watermark remains), skyblue bars with black edges, bar labels "N km²" over "x.x%" just above each bar, lowercase axis labels, stats box "mean±std … ice sheet area", y axis 0–90,000 with 10,000 ticks, figsize 10×5.9 in
- Export additions: svg/pdf/ps font rcParams;
do_export_ED_fig = 1 writes png (300 dpi), svg and pdf to this folder for the 'all' basin
- Command:
cd Dropbox/slush_study && MPLBACKEND=Agg .venv/bin/python prog/barchart_slush_area_JJA_annually_basins.py
- Python env:
slush_study/.venv (Python 3.14.7, matplotlib 3.11.0)
- Input data (local):
slush_study/output/counts/flooded_snow_<2017–2025>_JJA_on_CARRA_v4.tif; slush_study/stats/basin_integration/t2m_JJA_regions.csv
- Side effects of a run: rewrites
stats/areas/all_slush_area_JJA_flooded_snow_ge1d_km2_2017-2025.csv (identical content) and Figs/areas/all_slush_area_JJA_flooded_snow_ge1d_2017-2025.png (now in the new style). Warning: with basin_regions = ['all'] the script also overwrites the combined stats/areas/slush_area_JJA_flooded_snow_ge1d_km2_2017-2025_basins.csv and _wide.csv with the 'all' rows only. For this run both were backed up and restored to their 29 Sep 2026 versions with all 8 regions.
- Data vs the placeholder: 2021 = 56,591 km² (placeholder 53,842); mean ± std 49,705 ± 19,354 km² (placeholder 49,399 ± 19,265). The main text's "49,400±19,000 km²" matches the placeholder.
- 2026-11-23 16:00 +0300: script-path watermark turned off (
show_script_path = 0 near the top of the script; backup barchart_slush_area_JJA_annually_basins.py.bak_20261123b). PNG, SVG and PDF regenerated; EPS remade from the new PDF with pdftocairo -eps on the Grok box. No path text in the PDF or EPS. The run again overwrote the combined _basins.csv and _wide.csv with 'all' rows only; both were rebuilt from the eight per-region CSVs in stats/areas/ (72 rows; wide table all, SW, CW, NW, NO, NE, CE, SE).
ED Fig 2 modis vs olci blue area by sector/: regenerated 2026-11-23 11:52 +0300
- Outputs:
ED Fig 2.png (300 dpi, 4041×4529 px), ED Fig 2.svg (text as text; no "flooded snow" left), ED Fig 2.pdf, ED Fig 2.eps (pdftocairo -eps on the Grok box, as for ED Fig 1; ArialMT and DejaVuSans embedded, DejaVu for mathtext/symbols)
- Script, edited in place:
MODIS_blue_slush/prog/plot_modis_vs_olci_jja_area_by_sector.py. The pre-edit original is plot_modis_vs_olci_jja_area_by_sector.py.bak_20261123 in the same folder.
- Label change: the legend entry "OLCI flooded snow, … area ≥2 d" → "OLCI slush, …", and the suptitle "vs OLCI flooded snow:" → "vs OLCI slush:". Variable names, file paths and CSV/column names are unchanged.
- Export additions: svg/pdf/ps font rcParams;
do_export_ED_fig = 1 writes png (300 dpi), svg and pdf to this folder
- Command:
cd Dropbox/MODIS_blue_slush/MODIS_blue_slush && MPLBACKEND=Agg .venv/bin/python prog/plot_modis_vs_olci_jja_area_by_sector.py
- Python env:
MODIS_blue_slush/.venv (Python 3.14.7, matplotlib 3.11.1)
- Input data (local): MODIS season daycounts
MODIS_blue_slush/stats/NDBI_median11_<year>_JJA_daycount_thr060/070/080.tif (from 0_dat/MOD09_blue_slush/dominant/<year>/NDBI_median11_MOD09GA_<date>_CARRA25km_ice.tif); OLCI slush_study/output/counts/flooded_snow_<2017–2025>_JJA_on_CARRA_v4.tif; basins Dropbox/Greenland map/Mouginot_sectors/Mbasins_on_CARRA_grid.tif
- Side effects of a run: rewrites 3 stats CSVs in
MODIS_blue_slush/MODIS_blue_slush/stats/ (checked byte-identical to the previous versions) and Figs/MODIS_NDBI070_ge2d_vs_OLCI_flooded_snow_ge2d_JJA_area_by_sector.png. Daycount GeoTIFFs are written only if missing (all 78 exist).
- Data vs the placeholder: identical statistics. The text changes are "JJA" → "June–August" and "flooded snow" → "slush".
- 2026-11-23 16:04 +0300, Nature artwork fixes (script backup
plot_modis_vs_olci_jja_area_by_sector.py.bak_20261123b): drawn at final print size, 180 mm wide (page 177×201 mm after tight bbox), labels and panel titles 7 pt, ticks and legend 6 pt (was 18 pt on a 14×16 in canvas); mathtext set to Arial (mathtext.fontset = 'custom'), so ArialMT is the only embedded font (no DejaVu); superscript scale raised from 0.7 to 0.85 (matplotlib._mathtext.SHRINK_FACTOR), so superscripts are about 5.1 pt in the legend and 6 pt elsewhere; in-image suptitle off (show_suptitle = 0); script-path watermark off (show_script_path = 0). PNG, SVG and PDF regenerated; EPS remade from the PDF with pdftocairo -eps on the Grok box. The working copy Figs/MODIS_NDBI070_ge2d_vs_OLCI_flooded_snow_ge2d_JJA_area_by_sector.png is now in the same style. Statistics unchanged.
ED Fig 4 southwest test 23 aug 2021/: regenerated 2026-11-23 12:18 +0300
- 2026-11-23 16:20 +0300: script-path watermark off (
show_script_path = 0; backup map_NDWI_SVM_S2_20210823.py.bak_20261123b); ED Fig 4.png regenerated (5392×3256 px, 300 dpi). svg dropped from the export list (backup .bak_20261123c). ED Fig 4.eps (12:20) is now stale: it still carries the path and is over the 10 MB ED limit; the PNG is the submission file.
- 2026-11-23 16:18 +0300: per Jason,
ED Fig 1.svg, ED Fig 2.svg and ED Fig 4.svg moved to the Mac Trash (each had an .eps beside it), and svg dropped from the export lists of all three scripts (backups .bak_20261123c). ED Figs 1 and 2 now export png and pdf only (eps made from the pdf).
- Outputs:
ED Fig 4.png (300 dpi, 5392×3323 px, written 12:17 +0300), ED Fig 4.svg (svg.fonttype none, so text stays text, written 12:17 +0300), ED Fig 4.eps (made 12:20 +0300 from a temporary PDF on the Grok box with pdftocairo -eps "ED Fig 4.pdf" "ED Fig 4.eps"; the PDF was not left in this folder). No .pdf is kept here.
- Script, edited in place:
slush_study/prog/map_NDWI_SVM_S2_20210823.py. The pre-edit original is map_NDWI_SVM_S2_20210823.py.bak_20261123 in the same folder.
- Export additions: svg/pdf/ps font rcParams;
do_export_ED_fig = 1 writes png (300 dpi) and svg to this folder. EPS is made separately from a temporary PDF; a re-run on the Mac will refresh the png and svg only, not the eps.
- Command:
cd Dropbox/slush_study && MPLBACKEND=Agg .venv/bin/python prog/map_NDWI_SVM_S2_20210823.py
- Python env:
slush_study/.venv (Python 3.14.7, matplotlib 3.11.0)
- Input data (local): Sentinel-2 RGB
0_dat/S2/67_47/2021-08-23_67_47_B_RGB_432.tif; OLCI NDBI 0_dat/S3/opendap/Greenland_500m/2021/2021-08-23_r_TOA_NDXI_0308.tif; SVM classes/probability 0_dat/S3/class_and_proba_v4/2021/2021_08_23_SICE_surface_classes.tif, _SICE_probability.tif; expert outlines slush_study/GIS/validation_polygons/2021-08-23_67_47_slush_v2.shp, 2021-08-23_67_47_exclude.shp; coastline Dropbox/Greenland map/coastline/Greenland_coast2/Greenland_coast.shp; contours Dropbox/AWS/GEUS_AWS_NRT_alerts/ancil/500 m contours/500 m contours.shp
- Side effects of a run:
do_save_fig = 1 would overwrite slush_study/Figs/ndxi_SVM_S2_RGB_2021-08-23_SW.png (dpi 200). That file was backed up as ndxi_SVM_S2_RGB_2021-08-23_SW.png.bak_20261123 and restored to its 11 Oct 2026 13:47 version. do_export_svm_shp = 0, so GIS/validation_polygons/2021-08-23_67_47_SVM_slush.shp was not written. No shared stats CSVs are written.
- Data vs the placeholder: identical layout, labels and statistics (classified area 1,819 km²; NDBI only 181 km² / 10.0%; SVM slush only 375 km² / 20.6%; overlap 1,263 km² / 69.4%). The new PNG is 300 dpi (5392×3323) versus the Word-extracted placeholder at 2046×1266; visible differences are compression and resampling, not content.
2026-11-23 16:28 +0300: Extended Data files switched to JPEG, extras subfolders
- Nature accepts only JPEG (preferred), TIFF or EPS for Extended Data figures: RGB, at most 300 dpi, at most 10 MB, fit on one page of 180×170 mm (https://research-figure-guide.nature.com/figures/extended-data-formatting-guidelines/).
- Each ED folder now holds only the file to submit plus
legend.md; everything else moved to an extras/ subfolder in that folder.
- ED Figs 1, 2 and 4 scripts (backups
.bak_20261123e) now write ED Fig N.jpg through save_ED_jpeg(): rendered at 600 dpi, flattened to RGB, resampled to fit within 2126×2008 px (180×170 mm at 300 dpi), JPEG quality 95, tagged 300 dpi. ED Figs 1 and 2 also write the PDF to extras/ (only used to make the EPS). ED Fig 2 canvas changed to 180×165 mm. Results: ED Fig 1.jpg 2126×1219 px; ED Fig 2.jpg 2126×1932 px; ED Fig 4.jpg 2126×1283 px.
ED Fig 5.jpg (2126×1994 px, RGB) was rendered on the Grok box from extras/2019-08-04 classes map.pdf (Illustrator 29.8) with pdftoppm -r 600 and the same resampling; the June 2025 CMYK version is extras/ED Fig 5 old Jun2025 CMYK.jpg.
- ED Fig 3: the main file is
ED 3 map projections 300 DPI export from Illustrator.jpg (Jason's Illustrator export, 1742×2613 px, about 148×221 mm at 300 dpi, taller than 170 mm).
- The ED Fig 1 run again overwrote the combined
stats/areas/…_basins.csv and _wide.csv; both were rebuilt from the eight per-region CSVs (72 rows).
ED Fig 2 modis vs olci blue area by sector/: regenerated 2026-11-25 10:52 +0100 (Europe/Copenhagen)
- Smaller markers, panel titles closer to the axes, and all outputs unified to the previous JPEG's aspect ratio (~2126×1932, w/h = 1.100). Script edited in place; backup
plot_modis_vs_olci_jja_area_by_sector.py.bak_20261125a. SOURCES backup SOURCES.md.bak_20261125a.
- Markers:
ms 5 pt → 2.5 pt on the MODIS circles, OLCI squares, and matching legend handles (was dominating at 180 mm print width).
- Line widths capped within Nature ED 0.25–1 pt: connecting series 1.2→0.8 pt, OLCI 1.5→1.0 pt, primary trend 1.8→1.0 pt (questionable-year trend, currently unused, 1.5→1.0 pt).
- Panel titles:
ax.set_title(..., pad=2) and axes.titlepad = 2 (matplotlib default is 6 pt), so titles sit closer to the axes. Label sizes unchanged (7 pt panel titles and axis labels, 6 pt ticks and legend, Arial; no in-image suptitle or script-path watermark).
- Aspect ratio: the pre-edit
ED Fig 2.jpg (2126×1932 px, 300 dpi, 180.00×163.58 mm, w/h = 1.100) is kept as extras/ED Fig 2 aspect example.jpg. The older ED Fig 2.png (2086×2377 px) and ED Fig 2.eps (BoundingBox 501×571) were stale from the 2026-11-23 14:04 run, before the 180×165 mm canvas; they did not match the JPEG. The 14:27 PDF already used the same figsize and bbox_inches='tight', pad_inches=0.02 as the JPEG helper and had the same aspect; it had been left at the folder top level because extras/ had not been created yet. All savefig calls now share that figsize/bbox (working PNG at 150 dpi included). JPEG still goes through save_ED_jpeg (600 dpi → RGB, fit within 2126×2008 px, tagged 300 dpi).
- Folder layout: top level now has the submission
ED Fig 2.jpg, legend.md, and script.md. Superseded pre-edit png/pdf/eps moved to extras/ as ED Fig 2 pre-20261125.*.
- Outputs:
ED Fig 2.jpg (2126×1932 px, RGB, 300 dpi, 909 KB; same dimensions and aspect as the example). extras/ED Fig 2.pdf (500.81×455.12 pt = 176.67×160.56 mm, aspect 1.100; ArialMT only). extras/ED Fig 2.png (2086×1896 px, 300 dpi, aspect 1.100). extras/ED Fig 2.eps remade on the Grok box with pdftocairo -eps "ED Fig 2.pdf" "ED Fig 2.eps" (cairo 1.18.4; BoundingBox 0 1 501 456). Working copy MODIS_blue_slush/MODIS_blue_slush/Figs/MODIS_NDBI070_ge2d_vs_OLCI_flooded_snow_ge2d_JJA_area_by_sector.png (1044×949 px, 150 dpi, aspect 1.100).
- This run used the cached sector CSVs (
do_build_tables = 0, do_save_csv = 0); statistics unchanged.
- Command (full rebuild of tables if wanted):
cd Dropbox/MODIS_blue_slush/MODIS_blue_slush && MPLBACKEND=Agg .venv/bin/python prog/plot_modis_vs_olci_jja_area_by_sector.py
- Python env:
MODIS_blue_slush/.venv (Python 3.14, matplotlib 3.11)
ED Table 1 modis regional slush area trends/: edited 2026-11-25 12:10 +0100 (Europe/Copenhagen)
ED Table 1.docx: column "confidence (1−p)" replaced by P (two-sided t-test P value of the OLS slope, n = 24, 2000–2023), values from MODIS_blue_slush/MODIS_blue_slush/stats/MODIS_NDBI070_ge2d_sector_trend_pct_of_sector_area_y2000_2023.csv column p_value (CE 0.010, CW 0.172, NE 0.082, NO 0.018, NW 0.019, SE <0.001, SW 0.502, all ice 0.030); definitions row updated to match. legend.md updated to match. Pre-edit copies: extras/ED Table 1.docx.bak_20261125, extras/legend.md.bak_20261125. SOURCES backup SOURCES.md.bak_20261125b.
ED Tables 3 and 4 swapped: 2026-11-25 12:55 +0100 (Europe/Copenhagen)
- Renumbered to follow first citation in
slush_study_NCC_final_20261125c.docx. Folders and files renamed via temporary names; nothing deleted. SOURCES backup SOURCES.md.bak_20261125c.
ED Table 4 cmip6 cumulative excess melt/ED Table 4.docx → ED Table 3 cmip6 cumulative excess melt/ED Table 3.docx (title now "Extended Data Table 3. Cumulative excess melt under SSP2-4.5 and SSP5-8.5 relative to the 2000–2019 baseline.", followed by the cumulative-totals note; "Figure 3e" → "Fig. 4e"; rows "2000–2010 (alternative baseline)" and "2017–2025 (alternative baseline, the OLCI observation period)"). legend.md synced to the Inventory. Pre-edit copies: extras/ED Table 4.docx.bak_20261125, extras/legend.md.bak_20261125.
ED Table 3 slush area regression on carra climate/ED Table 3.docx → ED Table 4 slush area regression on carra climate/ED Table 4.docx (title number only). legend.md renumbered; legend text already matched the Inventory. Pre-edit copies: extras/ED Table 3.docx.bak_20261125, extras/legend.md.bak_20261125.
- The older sections above (
## ED Table 3 slush area regression…, ## ED Table 4 cmip6…) describe these files under their former names.
- Also updated: Inventory filename column (
Inventory_of_Supporting_Information_20261125.docx, backup .bak_20261125) and prog/_codebase_WORKFLOW_MAP.md (backup .bak_20261125b; HTML rebuilt). No script writes into these folders, so no code paths changed.
ED Fig 1–5 files renamed with underscores: 2026-11-25 13:05 +0100 (Europe/Copenhagen)
- Spaces → underscores in file names (top level and
extras/) of the five ED Fig N … folders, per the Nature Inventory instruction; folder names, legend.md and script.md unchanged; nothing deleted. SOURCES backup SOURCES.md.bak_20261125d.
- ED Fig 1:
ED_Fig_1.jpg; extras ED_Fig_1.eps, ED_Fig_1.pdf, ED_Fig_1.png.
- ED Fig 2:
ED_Fig_2.jpg; extras ED_Fig_2.eps, ED_Fig_2.pdf, ED_Fig_2.png, ED_Fig_2_aspect_example.jpg, ED_Fig_2_pre-20261125.{eps,pdf,png}.
- ED Fig 3:
ED_3_map_projections_300_DPI_export_from_Illustrator.jpg; extras ED_3_map_projections.pdf, slush_map_all.jpg.
- ED Fig 4:
ED_Fig_4.jpg; extras ED_Fig_4.png.
- ED Fig 5:
ED_Fig_5.jpg; extras 2019-08-04_classes_map.pdf, 2019-08-04_classes_map_instantaneous.png, 2019-08-04_classes_map_modal.png, ED_Fig_5_old_Jun2025_CMYK.jpg.
- Scripts now write the underscored names (
ED_fig_name): slush_study/prog/barchart_slush_area_JJA_annually_basins.py (ED_Fig_1), slush_study/prog/map_NDWI_SVM_S2_20210823.py (ED_Fig_4), MODIS_blue_slush/MODIS_blue_slush/prog/plot_modis_vs_olci_jja_area_by_sector.py (ED_Fig_2); backups .bak_20261125b. ED Figs 3 and 5 are Illustrator exports (no script writes them). Also updated: ED Fig 2 …/script.md (backup extras/script.md.bak_20261125), Inventory filename column (backup .bak_20261125b), prog/_codebase_WORKFLOW_MAP.md (backup .bak_20261125c; HTML rebuilt). Older sections above use the former spaced names.
Fig 1–4 and ED Table 1–4 files renamed with underscores: 2026-11-25 13:10 +0100 (Europe/Copenhagen)
- Spaces → underscores in file names (all levels,
extras/ included) of Fig 1 map, Fig 2 absorption spectra, Fig 3 albedo vs blueness, Fig 4 schematic and the four ED Table N … folders; folder names and legend.md unchanged; nothing deleted. SOURCES backup SOURCES.md.bak_20261125e.
- Fig 1:
Fig_1_map_300_DPI_export_from_Illustrator.jpg, Fig_1_slush_maps_v3.pdf, slush_map_all_300_DPI.jpg, slush_map_SE_inset_300_DPI.jpg, slush_maps_v3_copy.pdf (slush_maps.qgz unchanged). The Illustrator layout PDFs still carry an XMP reference to the old slush map SE inset 300 DPI.jpg path; Jason confirmed images are embedded, so no live link breaks.
- Fig 2:
Fig_2_absorption_spectra.pdf, absorption_spectra_figure.jpg, left_panel_Fig_2_annotated_raster_image_-_slush_79_2019-08-02.ai, right_panel_Fig_2_spectra_panel.eps, right_panel_Fig_2_spectra_panel.pdf.
- Fig 3:
Fig_3.eps, Fig_3.pdf, Fig_3.png. Fig 4: Fig_4_slush_schematic.pdf, Fig_4_slush_schematic.png.
- ED Tables:
ED_Table_1.docx … ED_Table_4.docx; backups in extras/ renamed alike (ED_Table_1.docx.bak_20261125, ED_Table_3.docx.bak_20261125 in the ED Table 4 folder, ED_Table_4.docx.bak_20261125 in the ED Table 3 folder).
- No script writes into these folders (Fig 2 right panel and Fig 3 are written to
slush_study/Figs/… and copied by hand), so no code changed. Updated: Inventory filename column (ED Tables; backup .bak_20261125c), prog/_codebase_WORKFLOW_MAP.md (backup .bak_20261125d; HTML rebuilt; also corrected the Fig. 4 file name, which the map gave as Fig. 4 slush schematic.pdf), and the filename mention in ED Table 3 …/legend.md (backup extras/legend.md.bak_20261125b).
(2026-11-25) |