File:Insolation at 65N late glacial holocene 1.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 1,065 × 532 pixels, file size: 46 KB)

Captions

Captions

Insolation at 65N during late glacial and holocene: spring, summer

Summary[edit]

Description
English: Insolation at 65N during late glacial and holocene.
Date
Source Own work
Author Merikanto

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

  1. years = np.linspace(-5000, 0, 5001)

fig, ax1 = plt.subplots()

  1. fig, ax1=plt.gca()

ax2 = ax1.twinx()

years = np.linspace(-30, 0,31) yearlabels=np.linspace(-30,0)

orb = OrbitalTable.interp(kyear=years)

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(-30,0,200)

  1. define spline

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)

  1. print(S65)
  1. ax1.set_xticks(years2, yearlabels2)

plt.suptitle("Insolation at 65 N W/m2",size=18 ) ax1.set_xlabel("Kiloyears ",size=20 )

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.legend(fontsize=16) ax2.legend(fontsize=16)

plt.show()

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
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/TimeThumbnailDimensionsUserComment
current10:28, 25 March 2021Thumbnail for version as of 10:28, 25 March 20211,065 × 532 (46 KB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata