File:Lgm ngrip delta-o18 accurate 2.svg
![File:Lgm ngrip delta-o18 accurate 2.svg](https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Lgm_ngrip_delta-o18_accurate_2.svg/800px-Lgm_ngrip_delta-o18_accurate_2.svg.png?20211006174032)
Original file (SVG file, nominally 1,620 × 630 pixels, file size: 437 KB)
Captions
Captions
Summary
[edit]DescriptionLgm ngrip delta-o18 accurate 2.svg |
English: Oxygen isotope data of Last Glacial Maximum |
Date | |
Source | Own work |
Author | Merikanto |
Data for this file is from
http://www.iceandclimate.nbi.ku.dk/data/NGRIP_d18O_and_dust_5cm.xls http://www.iceandclimate.nbi.ku.dk/data/ processed to csv
δ18O values and dust concentrations
The dataset provides NGRIP δ18O
values, dust concentrations, and GICC05 ages in 5cm depth resolution for the
period 0-60 ka (δ18O) and 10-60 ka (dust).
The dataset accompany the following papers:
NGRIP members, Nature, 431, 147-151, 2004. DOI: 10.1038/nature02805
Gkinis et al., Earth Planet. Sci. Lett., 405, 132-141, 2014. DOI:
10.1016/j.epsl.2014.08.022
Ruth et al., J. Geophys. Res., 108, 4098, 2003. DOI: 4010.1029/2002JD002376
- drawing climate diagram in python 3
- version 4000.0002
- 6.10.2021
-
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from scipy import interpolate
from matplotlib.ticker import (MultipleLocator, AutoMinorLocator)
import scipy.signal
import matplotlib.colors as colors
import math as math
datafilename="ngrip1.csv"
captionibase=", NGRIP delta-O18"
captioni=" Last Glacial Maximum - LGM "+captionibase
savename="figure.svg"
beginx=18000
endx=36000
- beginx=10500
- endx=11700
beginy=-34
endy=-40
beginy=-34
endy=-40
beginy=-32
endy=-42
beginy=-31
endy=-42
beginy=-35
endy=-49
beginy=-32
endy=-46
beginy=-34
endy=-48
- beginy=-30
- endy=-50
figsizex=18
figsizey=7
yearspan=math.fabs(endx-beginx)
dfin0=pd.read_csv(datafilename, sep=";")
lst1=['gicc05_age','delta_O18']
dfin1 = dfin0[dfin0.columns.intersection(lst1)]
x0=dfin1['gicc05_age']
y0=dfin1['delta_O18']
x=np.array(x0)
y=np.array(y0)
size0=14
size1=16
size2=18
size3=22
x_sm = np.array(x)
y_sm = np.array(y)
x_smooth = np.linspace(beginx,endx, yearspan*10)
funk1 = interpolate.interp1d(x_sm, y_sm, kind="cubic")
y_smooth = funk1(x_smooth)
y_savgol1 = scipy.signal.savgol_filter(y_smooth,11, 3)
y_savgol2 = scipy.signal.savgol_filter(y_smooth,501, 3)
- a=np.outer(np.ones(2),y_smooth)
a=np.outer(np.ones(2),y_savgol2)
cmap1="RdBu"
cmap1="hsv"
cmap1="seismic"
cmap1="bwr"
clam1="coolwarm1"
print (type(cmap1))
- fig=plt.gca()
- plt.figure(figsize=(figsizex, figsizey))
plt.rcParams["figure.figsize"] = [figsizex, figsizey]
- plt.imshow(a,aspect='auto', cmap=cmap1, extent=[beginx, endx,-50,-30], alpha=0.5)
plt.imshow(a,aspect='auto', cmap=cmap1, extent=[beginx, endx,endy,beginy], alpha=0.5)
plt.xlim(beginx, endx)
plt.ylim(endy, beginy)
plt.plot(x_smooth, y_savgol1, color="#0000ff", alpha=0.33, linewidth=1)
plt.plot(x_smooth, y_savgol2, color="#0000ff", linewidth=2)
plt.title(captioni, fontsize=size3, color="#0000af")
plt.xlabel('Age BP', color="darkgreen", fontsize=21)
plt.ylabel('delta-O18', color="darkgreen", fontsize=21)
plt.xticks(fontsize=17)
plt.yticks(fontsize=17)
plt.gca().invert_xaxis()
- mng = plt.get_current_fig_manager()
- mng.window.state('zoomed')
plt.savefig(savename, dpi=120)
plt.show()
Licensing
[edit]![w:en:Creative Commons](https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CC_some_rights_reserved.svg/90px-CC_some_rights_reserved.svg.png)
![attribution](https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Cc-by_new_white.svg/24px-Cc-by_new_white.svg.png)
![share alike](https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Cc-sa_white.svg/24px-Cc-sa_white.svg.png)
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 17:40, 6 October 2021 | ![]() | 1,620 × 630 (437 KB) | Merikanto (talk | contribs) | Update |
15:52, 14 September 2020 | ![]() | 1,481 × 524 (417 KB) | Merikanto (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 1296pt |
---|---|
Height | 504pt |