File:Ngrip deltao18 preboreal 11700 10500 1.svg
Original file (SVG file, nominally 1,620 × 630 pixels, file size: 161 KB)
Captions
Summary
[edit]DescriptionNgrip deltao18 preboreal 11700 10500 1.svg |
English: Ngrip delta-O-18 11700 - 10500 years ago, preboreal period |
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"
captioni="Preboreal, NGRIP delta-O18"
savename="ngrip_dryas.svg"
- beginx=45000
- endx=59500
beginx=10500
endx=11700
beginy=-34
endy=-40
beginy=-34
endy=-40
beginy=-32
endy=-42
- 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('figure.svg', dpi=120)
plt.show()
Licensing
[edit]- 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:08, 6 October 2021 | 1,620 × 630 (161 KB) | Merikanto (talk | contribs) | update | |
18:57, 5 October 2021 | 1,318 × 552 (148 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 |