Aitana
  • Home
  • How to use aitana
  • API
Aitana
  • How to use aitana

How to use aitana¶

This notebook shows how to retrieve different datasets for Whakaari/White Island. Downloading Ruapehu data follows very similar patterns, even though datasets may differ. You can consult the API documentation to find out about datasets that are available for Ruapehu.

In [ ]:
Copied!
from aitana.whakaari import Gas, Seismicity, eruptions, load_all
from aitana.whakaari import Gas, Seismicity, eruptions, load_all
In [ ]:
Copied!
start_date = "2009-01-01"
end_date = "2024-12-31"
start_date = "2009-01-01" end_date = "2024-12-31"
In [ ]:
Copied!
g = Gas(start_date=start_date, end_date=end_date)
df = g.so2() # also available are co2 and h2s
df.plot(yerr='err')
g = Gas(start_date=start_date, end_date=end_date) df = g.so2() # also available are co2 and h2s df.plot(yerr='err')
In [ ]:
Copied!
s = Seismicity(start_date=start_date, end_date=end_date)
df = s.rsam()
df.plot()
s = Seismicity(start_date=start_date, end_date=end_date) df = s.rsam() df.plot()
In [ ]:
Copied!
cat = s.quakes()
cat
cat = s.quakes() cat
In [ ]:
Copied!
df = load_all(end_date=end_date)
df
df = load_all(end_date=end_date) df
Previous Next

Built with MkDocs using a theme provided by Read the Docs.
« Previous Next »