# Data accessed manually by a human following instructions:

Accessed the Greenland Mass Balance database on Dec. 12, 2020
from PROMICE (https://promice.org/PromiceDataPortal/api/download
/1198f862-4afa-4862-952f-acd9129d790d/greenland_SMB_database_v20
20/greenland_SMB_database_v2020.xlsx)

See:
`scripts/private-archive-preprocess/machguth_etal_massbalan
ce_obs_locations/README.md` for preprocessing steps.

# Data processed using the following steps:

ogr2ogr -lco ENCODING=UTF-8 -t_srs EPSG:3413 -clipdst {assets_dir}/latitude_shape_40_degrees.geojson -makevalid -s_srs EPSG:4326 -sql 'SELECT
                        _ogr_geometry_,
                        fid,
                        glacier_id,
                        glacier_name,
                        glacier_type,
                        glacier_lat,
                        glacier_lon,
                        time_period,
                        sources_data,
                        sources_background,
                        CAST("#_points" AS INTEGER) as "#_points",
                        CAST("#_readings" AS INTEGER) as "#_readings",
                        CAST("#_readings_final" AS INTEGER) as "#_readings_final",
                        finished,
                        comments,
                        label
                    FROM foo' {output_dir}/final.gpkg {input_dir}/locations.gpkg