Skip to content

Commit 3c23bae

Browse files
committed
add LIP shapefiles, and update readme
1 parent ffa063f commit 3c23bae

33 files changed

+137
-68
lines changed

Code/Franklin_Umkondo.ipynb

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,8 @@
219219
"outputs": [],
220220
"source": [
221221
"# change this path to be where the Franklin and Umkondo shapefiles are stored\n",
222-
"root = '/Users/yuempark/Dropbox/Ophiolite_Compilation/'\n",
223-
"\n",
224-
"Franklin = pygplates.FeatureCollection.read(root+'Paleogeo_models/LIPs_current/Ernst_lipshapefiles/Franklin.shp')\n",
225-
"Umkondo = pygplates.FeatureCollection.read(root+'Paleogeo_models/LIPs_current/Ernst_lipshapefiles/Umkondo.shp')\n",
222+
"Franklin = pygplates.FeatureCollection.read('../Data/LIPs/Franklin.shp')\n",
223+
"Umkondo = pygplates.FeatureCollection.read('../Data/LIPs/Umkondo.shp')\n",
226224
"model = '../../Rodinia_Model/Reconstruction/Rodinia_Model.rot'"
227225
]
228226
},
@@ -497,23 +495,24 @@
497495
],
498496
"metadata": {
499497
"kernelspec": {
500-
"display_name": "Python 2",
498+
"display_name": "Python 3",
501499
"language": "python",
502-
"name": "python2"
500+
"name": "python3"
503501
},
504502
"language_info": {
505503
"codemirror_mode": {
506504
"name": "ipython",
507-
"version": 2
505+
"version": 3
508506
},
509507
"file_extension": ".py",
510508
"mimetype": "text/x-python",
511509
"name": "python",
512510
"nbconvert_exporter": "python",
513-
"pygments_lexer": "ipython2",
514-
"version": "2.7.16"
511+
"pygments_lexer": "ipython3",
512+
"version": "3.7.7"
515513
},
516514
"toc": {
515+
"base_numbering": 1,
517516
"nav_menu": {},
518517
"number_sections": false,
519518
"sideBar": true,
@@ -529,6 +528,35 @@
529528
},
530529
"toc_section_display": true,
531530
"toc_window_display": true
531+
},
532+
"varInspector": {
533+
"cols": {
534+
"lenName": 16,
535+
"lenType": 16,
536+
"lenVar": 40
537+
},
538+
"kernels_config": {
539+
"python": {
540+
"delete_cmd_postfix": "",
541+
"delete_cmd_prefix": "del ",
542+
"library": "var_list.py",
543+
"varRefreshCmd": "print(var_dic_list())"
544+
},
545+
"r": {
546+
"delete_cmd_postfix": ") ",
547+
"delete_cmd_prefix": "rm(",
548+
"library": "var_list.r",
549+
"varRefreshCmd": "cat(var_dic_list()) "
550+
}
551+
},
552+
"types_to_exclude": [
553+
"module",
554+
"function",
555+
"builtin_function_or_method",
556+
"instance",
557+
"_Feature"
558+
],
559+
"window_display": false
532560
}
533561
},
534562
"nbformat": 4,

Code/Paleogeographic_Reconstruction.ipynb

Lines changed: 39 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@
8787
"outputs": [],
8888
"source": [
8989
"# change this to the path to the shapefile\n",
90-
"root = '/Users/yuempark/Dropbox/Ophiolite_Compilation/'\n",
91-
"LIP_feature_collection = pygplates.FeatureCollection.read(root+'Paleogeo_models/LIPs_current/Ernst_lipshapefiles/LIP_Outline_edited.shp')\n",
90+
"LIP_feature_collection = pygplates.FeatureCollection.read('../Data/LIPs/LIP_Outline_edited.shp')\n",
9291
"\n",
9392
"craton_feature_collection = pygplates.FeatureCollection.read('../Data/CEED6_POLY.shp')\n",
9493
"model = '../Data/TC2017_SHM2017_D2018.rot'"
@@ -2187,11 +2186,10 @@
21872186
"outputs": [],
21882187
"source": [
21892188
"# get names of shapefiles\n",
2190-
"plot_original_A = root+'Paleogeo_models/LIPs_current/Ernst_lipshapefiles/LIP_Outline_edited_plot_0_520.shp'\n",
2191-
"plot_original_B = root+'Paleogeo_models/LIPs_current/Ernst_lipshapefiles/LIP_Outline_edited_plot_520_1300.shp'\n",
2189+
"plot_original_A = '../Data/LIPs/LIP_Outline_edited_plot_0_520.shp'\n",
2190+
"plot_original_B = '../Data/LIPs/LIP_Outline_edited_plot_520_1300.shp'\n",
21922191
"\n",
2193-
"plot_present_A = root+'Paleogeo_models/LIPs_current/Ernst_lipshapefiles/LIP_current_extent_plot_0_520_B.shp'\n",
2194-
"plot_present_B = root+'Paleogeo_models/LIPs_current/Ernst_lipshapefiles/LIP_current_extent_plot_520_1300.shp'\n",
2192+
"plot_present_A = '../Data/LIPs/LIP_current_extent_plot_0_520_B.shp'\n",
21952193
"\n",
21962194
"plot_CEED6 = root+'Paleogeo_models/CEED6/CEED6_POLY.shp'"
21972195
]
@@ -2277,11 +2275,6 @@
22772275
" ccrs.PlateCarree(), edgecolor='black', facecolor='C0', alpha=0.5)\n",
22782276
"ax.add_feature(shape_feature)\n",
22792277
"\n",
2280-
"# plot present polygons\n",
2281-
"shape_feature = ShapelyFeature(Reader(plot_present_B).geometries(),\n",
2282-
" ccrs.PlateCarree(), edgecolor='none', facecolor='C1')\n",
2283-
"ax.add_feature(shape_feature)\n",
2284-
"\n",
22852278
"#plt.savefig('../Manuscript/Figures/LIP_Map_520_1300.pdf')\n",
22862279
"plt.show()"
22872280
]
@@ -2687,23 +2680,24 @@
26872680
],
26882681
"metadata": {
26892682
"kernelspec": {
2690-
"display_name": "Python 2",
2683+
"display_name": "Python 3",
26912684
"language": "python",
2692-
"name": "python2"
2685+
"name": "python3"
26932686
},
26942687
"language_info": {
26952688
"codemirror_mode": {
26962689
"name": "ipython",
2697-
"version": 2
2690+
"version": 3
26982691
},
26992692
"file_extension": ".py",
27002693
"mimetype": "text/x-python",
27012694
"name": "python",
27022695
"nbconvert_exporter": "python",
2703-
"pygments_lexer": "ipython2",
2704-
"version": "2.7.16"
2696+
"pygments_lexer": "ipython3",
2697+
"version": "3.7.7"
27052698
},
27062699
"toc": {
2700+
"base_numbering": 1,
27072701
"nav_menu": {},
27082702
"number_sections": false,
27092703
"sideBar": true,
@@ -2719,6 +2713,35 @@
27192713
},
27202714
"toc_section_display": true,
27212715
"toc_window_display": true
2716+
},
2717+
"varInspector": {
2718+
"cols": {
2719+
"lenName": 16,
2720+
"lenType": 16,
2721+
"lenVar": 40
2722+
},
2723+
"kernels_config": {
2724+
"python": {
2725+
"delete_cmd_postfix": "",
2726+
"delete_cmd_prefix": "del ",
2727+
"library": "var_list.py",
2728+
"varRefreshCmd": "print(var_dic_list())"
2729+
},
2730+
"r": {
2731+
"delete_cmd_postfix": ") ",
2732+
"delete_cmd_prefix": "rm(",
2733+
"library": "var_list.r",
2734+
"varRefreshCmd": "cat(var_dic_list()) "
2735+
}
2736+
},
2737+
"types_to_exclude": [
2738+
"module",
2739+
"function",
2740+
"builtin_function_or_method",
2741+
"instance",
2742+
"_Feature"
2743+
],
2744+
"window_display": false
27222745
}
27232746
},
27242747
"nbformat": 4,

Data/LIPs/Franklin.dbf

739 Bytes
Binary file not shown.

Data/LIPs/Franklin.prj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]

Data/LIPs/Franklin.qpj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]

Data/LIPs/Franklin.shp

1.19 KB
Binary file not shown.

Data/LIPs/Franklin.shx

116 Bytes
Binary file not shown.

Data/LIPs/LIP_Outline_edited.dbf

71 KB
Binary file not shown.

Data/LIPs/LIP_Outline_edited.prj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]

Data/LIPs/LIP_Outline_edited.qpj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]

0 commit comments

Comments
 (0)