File:Obliquity of earth axis 140000 0 bp 1.svg
Original file (SVG file, nominally 1,103 × 554 pixels, file size: 38 KB)
Captions
Summary
[edit]DescriptionObliquity of earth axis 140000 0 bp 1.svg |
English: Obliquity of Earth axis 140000 - 0 years ago |
Date | |
Source | Own work |
Author | Merikanto |
- Plot ice age orbital parameters
- with Python climlab
- 19.10.2021 0000.0000
import numpy as np
import matplotlib.pyplot as plt
from scipy.interpolate import make_interp_spline, BSpline
from climlab.solar.orbital import OrbitalTable
from climlab.solar.insolation import daily_insolation
from climlab import constants as const
- years = np.linspace(-5000, 0, 5001)
yearsmax1=-140
yearsmax2=(-1*yearsmax1)+1
fig, ax1 = plt.subplots()
- fig, ax1=plt.gca()
- ax2 = ax1.twinx()
years = np.linspace(yearsmax1, 0,yearsmax2)
yearlabels=np.linspace(yearsmax1,0)
numxlabels=8
xlabels=np.linspace(yearsmax1,0,numxlabels)
xlabels2=xlabels*-1
xlabels2[numxlabels-1]=0
print(yearsmax1)
- quit(-1)
orb = OrbitalTable.interp(kyear=years)
print(orb)
- quit(-1)
kyear = orb['kyear']
ecc = orb['ecc']
long_peri = orb['long_peri']%360
obliquity = orb['obliquity']
precession = orb['precession']
insolation_65n=orb['65NJul']
- print (obliquity)
S65_15 = daily_insolation(lat=65, day=15, orb=orb)
S65_90 = daily_insolation(lat=65, day=90, orb=orb)
S65_180 = daily_insolation(lat=65, day=180, orb=orb)
years2 = np.linspace(years.min(), years.max(), 200)
yearlabels2=np.linspace(yearsmax1,0,200)
- define spline
spl = make_interp_spline(years, S65_15, k=3)
S65_15_smoothed = spl(years2)
spl = make_interp_spline(years, S65_90, k=3)
S65_90_smoothed = spl(years2)
spl = make_interp_spline(years, S65_180, k=3)
S65_180_smoothed = spl(years2)
- print(S65)
- ax1.set_xticks(years, yearlabels)
- ax1.set_xticks(yearlabels2)
- plt.suptitle("Insolation at 65 N W/m2",size=18 )
plt.suptitle("Obliquity of Earth axis, degrees",size=18 )
ax1.set_xlabel("Thousands of years ago ",size=20 )
ax1.set_ylabel("Obliquity of Earth axis °",color="#7f0000", size=20)
ax1.plot(years, obliquity)
- ax1.plot(years, long_peri)
- ax1.plot(years, ecc)
- ax1.plot(years, precession)
- ax1.plot(years, insolation_65n)
- ax1.plot(years2, S65_15_smoothed, color="#0000ff", label="day 15 (winter)")
- ax1.plot(years2, S65_180_smoothed, color="#ff0000", label="day 180 (summer)")
- ax2.plot(years2, S65_90_smoothed, color="#00ff00", linestyle="--", label="day 90 (spring)")
- ax1.set_ylabel("Insolation W/m2",color="#7f0000", size=20)
- ax2.set_ylabel("Insolation W/m2",color="#007f00", size=20)
ax1.xaxis.set_tick_params(labelsize=16)
ax1.yaxis.set_tick_params(labelsize=16)
- ax2.yaxis.set_tick_params(labelsize=16)
ax1.set_xticks(xlabels)
ax1.set_xticklabels(xlabels2)
- ax1.set_xticklabels(["$0$"])
- ax1.set_xticklabels(yearlabels)
- ax1.axis["right"].major_ticklabels.set_visible(False)
- ax1.axis["top"].major_ticklabels.set_visible(True)
ax1.legend(fontsize=16)
- ax2.legend(fontsize=16)
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 | 06:15, 19 October 2021 | 1,103 × 554 (38 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 | 882.72pt |
---|---|
Height | 443.52pt |