Skip to content

Commit e33f109

Browse files
committed
error handling updates
1 parent c514686 commit e33f109

12 files changed

Lines changed: 1000 additions & 218 deletions

notebooks/.ipynb_checkpoints/NSIDC DAAC ICESat-2 Customize and Access-checkpoint.ipynb

Lines changed: 78 additions & 109 deletions
Large diffs are not rendered by default.

notebooks/NSIDC DAAC ICESat-2 Customize and Access.ipynb

Lines changed: 78 additions & 109 deletions
Large diffs are not rendered by default.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
This file contains the citations for the data downloaded from the GLIMS
2+
Glacier Database. All data are in the longitude/latitude coordinate system
3+
on the WGS-84 datum.
4+
5+
Field names in the downloaded file are documented at
6+
http://www.glims.org/MapsAndDocs/downloaded_field_desc.html
7+
8+
When citing GLIMS data, please be sure to include all the information in
9+
the examples below, including the analyst's name.
10+
11+
When referring to the GLIMS Initiative in general, please cite
12+
13+
Raup, B.H.; A. Racoviteanu; S.J.S. Khalsa; C. Helm; R. Armstrong; Y.
14+
Arnaud (2007). "The GLIMS Geospatial Glacier Database: a New Tool for
15+
Studying Glacier Change". Global and Planetary Change 56:101--110.
16+
(doi:10.1016/j.gloplacha.2006.07.018)
17+
18+
For the complete set of GLIMS glacier data (when using it for a global
19+
study of glaciers, for example), please cite
20+
21+
GLIMS and NSIDC (2005, updated 2019): Global Land Ice Measurements
22+
from Space glacier database. Compiled and made available by the
23+
international GLIMS community and the National Snow and Ice Data Center,
24+
Boulder CO, U.S.A. DOI:10.7265/N5V98602
25+
26+
27+
For Analysis_ID 528486, the appropriate citation is
28+
29+
HAI, Gang (submitter); HAI, Gang; LI, Rongxing; Tian, Yixiang; Xie, Huan (analyst(s)), 2018.
30+
GLIMS Glacier Database. Boulder, CO.
31+
National Snow and Ice Data Center. http://dx.doi.org/10.7265/N5V98602
32+
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
The following files may be part of this package. Note that depending on the
2+
search criteria used, some of these files may not be present because there
3+
is no matching data.
4+
5+
CITATIONS.txt
6+
Information on sources for the data, as well as how to cite the data in
7+
your own works.
8+
9+
glims_hypsometry_*.csv
10+
Hypsometry (area-elevation histogram) data for the various glaciers/analyses
11+
in the search. The data are provided in histogram form, with a different file
12+
for each bin size present in the database. The CSV file has columns for the
13+
glacier ID and analysis ID, as well as a column for each elevation bin.
14+
The column header for each bin shows the center elevation of that bin. The
15+
bins represent meters of elevation, and the data represent the glacier area
16+
(in square kilometers) in that elevation bin.
17+
18+
If there are no files present, there are no hypsometry data for any of the
19+
glaciers selected.
20+
21+
glims_images.*
22+
See FILE FORMATS below for details on the exact files included. The files
23+
contain information on the images that are linked to the glaciers selected.
24+
Attributes include the glacier ID, analysis ID, instrument short name,
25+
original ID, acquisition time, and a flag called "est_loc". If this flag
26+
is 0, it means the coordinates listed are what is stored in the database.
27+
If the flag is 1, it means no coordinates were given, so the coordinates
28+
listed were estimated as an average of the other image coordinates in the
29+
package.
30+
31+
If this file is not present, there were no images corresponding to the
32+
glaciers selected.
33+
34+
glims_lines.*
35+
See FILE FORMATS below for details on the exact files included. The data
36+
represent line features associated with the glaciers selected. These line
37+
features will either be "snow lines" or "center lines" for the glacier.
38+
39+
If this file is not present, there are no line data for the glaciers
40+
selected.
41+
42+
glims_points.*
43+
See FILE FORMATS below for details on the exact files included. The data
44+
are representative points for the glaciers selected.
45+
46+
glims_polygons.*
47+
See FILE FORMATS below for details on the exact files included. The data
48+
represent polygon features, typically glacier outlines, but also including
49+
regions of glacial lakes, debris cover, rocks within the glacier (nunataks),
50+
and other polygonal features.
51+
52+
README.txt
53+
This file.
54+
55+
56+
------------
57+
FILE FORMATS
58+
------------
59+
The exact nature of the files included for most of the files above depends on
60+
the file format selected for the download. This section describes the
61+
expected files for each file format. Here, glims_* refers to the file as
62+
described above, such as "glims_images" or "glims_lines".
63+
64+
65+
ESRI SHAPEFILE
66+
glims_*.dbf
67+
Attribute data and object IDs for the features
68+
glims_*.prj
69+
Definition of the map projection
70+
glims_*.shp
71+
Geometry information for the features
72+
glims_*.shx
73+
Geometry index to speed searching
74+
75+
MAPINFO TABLE
76+
glims_* directory, containing:
77+
layer.dat
78+
Attribute data for the features
79+
layer.id
80+
Info linking graphic data to the database
81+
layer.map
82+
Graphic and geographic information for each feature
83+
layer.tab
84+
ASCII file linking other files, holds information about the type of
85+
data set file
86+
87+
GML (Geographic Markup Language)
88+
glims_*.gml
89+
The main data file containing information on the features
90+
glims_*.xsd
91+
A schema file to describe the GML format.
92+
93+
KML (Keyhole Markup Language)
94+
glims_*.kml
95+
The main data file containing information on the features
96+
97+
GMT (Generic Mapping Tools; see http://gmt.soest.hawaii.edu/)
98+
glims_*.gmt
99+
The geometry, attribute, geographic extent, and projection data in a simple
100+
ASCII format defined by the GMT group
Lines changed: 201 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<kml xmlns="http://www.opengis.net/kml/2.2">
3+
<Document id="root_doc">
4+
<Schema name="layer" id="layer">
5+
<SimpleField name="glac_id" type="string"></SimpleField>
6+
<SimpleField name="anlys_id" type="int"></SimpleField>
7+
<SimpleField name="inst_sname" type="string"></SimpleField>
8+
<SimpleField name="orig_id" type="string"></SimpleField>
9+
<SimpleField name="acq_time" type="string"></SimpleField>
10+
<SimpleField name="est_loc" type="int"></SimpleField>
11+
</Schema>
12+
<Folder><name>layer</name>
13+
<Placemark>
14+
<ExtendedData><SchemaData schemaUrl="#layer">
15+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
16+
<SimpleData name="anlys_id">528486</SimpleData>
17+
<SimpleData name="inst_sname">Landsat7</SimpleData>
18+
<SimpleData name="orig_id">LMS78_903075W097_125016</SimpleData>
19+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
20+
<SimpleData name="est_loc">0</SimpleData>
21+
</SchemaData></ExtendedData>
22+
<Point><coordinates>-100.0079806,-78.1249889,0</coordinates></Point>
23+
</Placemark>
24+
<Placemark>
25+
<ExtendedData><SchemaData schemaUrl="#layer">
26+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
27+
<SimpleData name="anlys_id">528486</SimpleData>
28+
<SimpleData name="inst_sname">Landsat7</SimpleData>
29+
<SimpleData name="orig_id">LMS74_653694W100_304847</SimpleData>
30+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
31+
<SimpleData name="est_loc">0</SimpleData>
32+
</SchemaData></ExtendedData>
33+
<Point><coordinates>-102.264775,-73.8562111,0</coordinates></Point>
34+
</Placemark>
35+
<Placemark>
36+
<ExtendedData><SchemaData schemaUrl="#layer">
37+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
38+
<SimpleData name="anlys_id">528486</SimpleData>
39+
<SimpleData name="inst_sname">Landsat7</SimpleData>
40+
<SimpleData name="orig_id">LMS75_988533W101_309933</SimpleData>
41+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
42+
<SimpleData name="est_loc">0</SimpleData>
43+
</SchemaData></ExtendedData>
44+
<Point><coordinates>-103.3924972,-75.1788833,0</coordinates></Point>
45+
</Placemark>
46+
<Placemark>
47+
<ExtendedData><SchemaData schemaUrl="#layer">
48+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
49+
<SimpleData name="anlys_id">528486</SimpleData>
50+
<SimpleData name="inst_sname">Landsat7</SimpleData>
51+
<SimpleData name="orig_id">LMS77_321861W102_528808</SimpleData>
52+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
53+
<SimpleData name="est_loc">0</SimpleData>
54+
</SchemaData></ExtendedData>
55+
<Point><coordinates>-104.7435639,-76.4985583,0</coordinates></Point>
56+
</Placemark>
57+
<Placemark>
58+
<ExtendedData><SchemaData schemaUrl="#layer">
59+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
60+
<SimpleData name="anlys_id">528486</SimpleData>
61+
<SimpleData name="inst_sname">Landsat7</SimpleData>
62+
<SimpleData name="orig_id">LMS80_260616W081_869897</SimpleData>
63+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
64+
<SimpleData name="est_loc">0</SimpleData>
65+
</SchemaData></ExtendedData>
66+
<Point><coordinates>-86.185925,-79.65,0</coordinates></Point>
67+
</Placemark>
68+
<Placemark>
69+
<ExtendedData><SchemaData schemaUrl="#layer">
70+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
71+
<SimpleData name="anlys_id">528486</SimpleData>
72+
<SimpleData name="inst_sname">Landsat7</SimpleData>
73+
<SimpleData name="orig_id">LMS78_903075W082_874983</SimpleData>
74+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
75+
<SimpleData name="est_loc">0</SimpleData>
76+
</SchemaData></ExtendedData>
77+
<Point><coordinates>-86.6335389,-78.2843917,0</coordinates></Point>
78+
</Placemark>
79+
<Placemark>
80+
<ExtendedData><SchemaData schemaUrl="#layer">
81+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
82+
<SimpleData name="anlys_id">528486</SimpleData>
83+
<SimpleData name="inst_sname">Landsat7</SimpleData>
84+
<SimpleData name="orig_id">LMS77_545886W083_659808</SimpleData>
85+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
86+
<SimpleData name="est_loc">0</SimpleData>
87+
</SchemaData></ExtendedData>
88+
<Point><coordinates>-86.9872111,-76.9214222,0</coordinates></Point>
89+
</Placemark>
90+
<Placemark>
91+
<ExtendedData><SchemaData schemaUrl="#layer">
92+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
93+
<SimpleData name="anlys_id">528486</SimpleData>
94+
<SimpleData name="inst_sname">Landsat7</SimpleData>
95+
<SimpleData name="orig_id">LMS76_190200W084_289405</SimpleData>
96+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
97+
<SimpleData name="est_loc">0</SimpleData>
98+
</SchemaData></ExtendedData>
99+
<Point><coordinates>-87.2736889,-75.5616167,0</coordinates></Point>
100+
</Placemark>
101+
<Placemark>
102+
<ExtendedData><SchemaData schemaUrl="#layer">
103+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
104+
<SimpleData name="anlys_id">528486</SimpleData>
105+
<SimpleData name="inst_sname">Landsat7</SimpleData>
106+
<SimpleData name="orig_id">LMS74_836886W084_805572</SimpleData>
107+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
108+
<SimpleData name="est_loc">0</SimpleData>
109+
</SchemaData></ExtendedData>
110+
<Point><coordinates>-87.5104472,-74.2054361,0</coordinates></Point>
111+
</Placemark>
112+
<Placemark>
113+
<ExtendedData><SchemaData schemaUrl="#layer">
114+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
115+
<SimpleData name="anlys_id">528486</SimpleData>
116+
<SimpleData name="inst_sname">Landsat7</SimpleData>
117+
<SimpleData name="orig_id">LMS74_898466W090_000000</SimpleData>
118+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
119+
<SimpleData name="est_loc">0</SimpleData>
120+
</SchemaData></ExtendedData>
121+
<Point><coordinates>-92.4895528,-74.2054361,0</coordinates></Point>
122+
</Placemark>
123+
<Placemark>
124+
<ExtendedData><SchemaData schemaUrl="#layer">
125+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
126+
<SimpleData name="anlys_id">528486</SimpleData>
127+
<SimpleData name="inst_sname">Landsat7</SimpleData>
128+
<SimpleData name="orig_id">LMS76_258102W090_000000</SimpleData>
129+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
130+
<SimpleData name="est_loc">0</SimpleData>
131+
</SchemaData></ExtendedData>
132+
<Point><coordinates>-92.7263111,-75.5616167,0</coordinates></Point>
133+
</Placemark>
134+
<Placemark>
135+
<ExtendedData><SchemaData schemaUrl="#layer">
136+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
137+
<SimpleData name="anlys_id">528486</SimpleData>
138+
<SimpleData name="inst_sname">Landsat7</SimpleData>
139+
<SimpleData name="orig_id">LMS77_621488W090_000000</SimpleData>
140+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
141+
<SimpleData name="est_loc">0</SimpleData>
142+
</SchemaData></ExtendedData>
143+
<Point><coordinates>-93.0127889,-76.9214222,0</coordinates></Point>
144+
</Placemark>
145+
<Placemark>
146+
<ExtendedData><SchemaData schemaUrl="#layer">
147+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
148+
<SimpleData name="anlys_id">528486</SimpleData>
149+
<SimpleData name="inst_sname">Landsat7</SimpleData>
150+
<SimpleData name="orig_id">LMS78_988261W090_000000</SimpleData>
151+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
152+
<SimpleData name="est_loc">0</SimpleData>
153+
</SchemaData></ExtendedData>
154+
<Point><coordinates>-93.3664611,-78.2843917,0</coordinates></Point>
155+
</Placemark>
156+
<Placemark>
157+
<ExtendedData><SchemaData schemaUrl="#layer">
158+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
159+
<SimpleData name="anlys_id">528486</SimpleData>
160+
<SimpleData name="inst_sname">Landsat7</SimpleData>
161+
<SimpleData name="orig_id">LMS80_358058W090_000000</SimpleData>
162+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
163+
<SimpleData name="est_loc">0</SimpleData>
164+
</SchemaData></ExtendedData>
165+
<Point><coordinates>-93.814075,-79.65,0</coordinates></Point>
166+
</Placemark>
167+
<Placemark>
168+
<ExtendedData><SchemaData schemaUrl="#layer">
169+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
170+
<SimpleData name="anlys_id">528486</SimpleData>
171+
<SimpleData name="inst_sname">Landsat7</SimpleData>
172+
<SimpleData name="orig_id">LMS74_836886W095_194427</SimpleData>
173+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
174+
<SimpleData name="est_loc">0</SimpleData>
175+
</SchemaData></ExtendedData>
176+
<Point><coordinates>-97.4314083,-74.0881333,0</coordinates></Point>
177+
</Placemark>
178+
<Placemark>
179+
<ExtendedData><SchemaData schemaUrl="#layer">
180+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
181+
<SimpleData name="anlys_id">528486</SimpleData>
182+
<SimpleData name="inst_sname">Landsat7</SimpleData>
183+
<SimpleData name="orig_id">LMS76_190200W095_710594</SimpleData>
184+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
185+
<SimpleData name="est_loc">0</SimpleData>
186+
</SchemaData></ExtendedData>
187+
<Point><coordinates>-98.1301028,-75.432875,0</coordinates></Point>
188+
</Placemark>
189+
<Placemark>
190+
<ExtendedData><SchemaData schemaUrl="#layer">
191+
<SimpleData name="glac_id">G263560E76894S</SimpleData>
192+
<SimpleData name="anlys_id">528486</SimpleData>
193+
<SimpleData name="inst_sname">Landsat7</SimpleData>
194+
<SimpleData name="orig_id">LMS77_545886W096_340191</SimpleData>
195+
<SimpleData name="acq_time">2001-10-01 00:00:00</SimpleData>
196+
<SimpleData name="est_loc">0</SimpleData>
197+
</SchemaData></ExtendedData>
198+
<Point><coordinates>-98.9726278,-76.7789139,0</coordinates></Point>
199+
</Placemark>
200+
</Folder>
201+
</Document></kml>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<kml xmlns="http://www.opengis.net/kml/2.2">
3+
<Document id="root_doc">
4+
<Schema name="layer" id="layer">
5+
<SimpleField name="glacier_id" type="string"></SimpleField>
6+
</Schema>
7+
<Folder><name>layer</name>
8+
<Placemark>
9+
<ExtendedData><SchemaData schemaUrl="#layer">
10+
<SimpleData name="glacier_id">G263560E76894S</SimpleData>
11+
</SchemaData></ExtendedData>
12+
<Point><coordinates>-96.44,-76.894,0</coordinates></Point>
13+
</Placemark>
14+
</Folder>
15+
</Document></kml>

0 commit comments

Comments
 (0)