Skip to content

alstat/Bagyo.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bagyo.jl

CI codecov MIT License

Bagyo.jl is a package for extraction and analysis of typhoon and climate data in the WNP (Western-North Pacific) region (at least for now). As such, it is a very specific package focusing only on WNP. Therefore, in terms of data, the main interest are those commonly used in literatures for understanding the cyclones in the said region, which covers the Philippine Area of Responsibility (PAR), and other neighboring South-East Asian regions. These data are usually from the Japan Meteorological Agency (JMA), Regional Specialized Meteorological Center (RSMC) Tokyo - Typhoon Center, Joint Typhoon Warning Center (JTWC), and the consolidations of all tracks by the International Best Track Archive for Climate Stewardship (IBTrACS). Bagyo.jl currently offers JMA and IBTrACS data, but skips JTWC as it is not timely released (last updated 2020). The package is actively being developed, expect more APIs to be added from downloading, loading, to visualizing and modeling the data.

Lastly, "typhoon" and "storm" in Filipino are generally referred to as "bagyo" /baɡˈjo/, [bɐɡˈjo].

Installation

To install the package, run the following:

julia> using Pkg
julia> Pkg.add("Bagyo")

Usage

The following example illustrates the functionality for downloading and visualizing the data with emphasis on five regions of climate interests for Japan, Philippines, Thailand, Taiwan and Vietnam, respectively.

using Bagyo
using Colors
using Makie

f, a = with_theme(theme_dark(), resolution=(850, 650)) do
	plot([JPN(), PHL(), THA(), TWN(), VNM()], :stere);
end;
get(BestTrack, :jma)
meta, data = load(BestTrack, :jma)
lines!(a, data, :jma, linewidth=1, color=RGBAf(1.0, 0.678431, 0.0, 0.15))
a.title = "Tropical Cyclone in Western-North Pacific";
a.titlesize = 25;
a.titlealign = :left;
a.ylabelpadding = 15;
a.xlabelpadding = -30;
f

See the documentation for more.