nakametpy.cmaps module

nakametpy.cmaps.BlWhRe()[source]

blue -> white -> red のカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは BlWhRe_256lev という名前でも受け取れる。

BlWhRe

nakametpy.cmaps.BrWhGr()[source]

緑白ブラウンのカラーマップ。 水蒸気の発散収束を表す際に便利。 levelは256である。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは BrWhGr_256lev という名前でも受け取れる。

BrWhGr

nakametpy.cmaps.get_colormap(name)[source]

カラーマップを得る関数。

引数の名前は get_colormap_list で得ることが出来る。

Parameters

name (str) – colormap name

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

nakametpy.cmaps.get_colormap_list()[source]

カラーマップ名のリストを得る関数。

Returns

cmap_names

Return type

List

nakametpy.cmaps.grads_autumn()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_autumn_256lev という名前でも受け取れる。

grads_autumn

nakametpy.cmaps.grads_b2r()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_b2r_256lev という名前でも受け取れる。

grads_b2r

nakametpy.cmaps.grads_blue()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_blue_256lev という名前でも受け取れる。

grads_blue

nakametpy.cmaps.grads_brn2grn()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_brn2grn_256lev という名前でも受け取れる。

grads_brn2grn

nakametpy.cmaps.grads_cool()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_cool_256lev という名前でも受け取れる。

grads_cool

nakametpy.cmaps.grads_dark()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_dark_256lev という名前でも受け取れる。

grads_dark

nakametpy.cmaps.grads_default_rainbow_linear()[source]

GrADSデフォルトのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_default_rainbow_linear_256lev という名前でも受け取れる。

grads_default_rainbow_linear

nakametpy.cmaps.grads_default_rainbow_list()[source]

GrADSデフォルトのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_default_rainbow_list_13lev という名前でも受け取れる。

grads_default_rainbow_list

nakametpy.cmaps.grads_grayscale()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_grayscale_256lev という名前でも受け取れる。

grads_grayscale

nakametpy.cmaps.grads_green()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_green_256lev という名前でも受け取れる。

grads_green

nakametpy.cmaps.grads_jet()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_jet_256lev という名前でも受け取れる。

grads_jet

nakametpy.cmaps.grads_ocean()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_ocean_256lev という名前でも受け取れる。

grads_ocean

nakametpy.cmaps.grads_oj2p()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_oj2p_256lev という名前でも受け取れる。

grads_oj2p

nakametpy.cmaps.grads_paired()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_paired_256lev という名前でも受け取れる。

grads_paired

nakametpy.cmaps.grads_rain()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_rain_256lev という名前でも受け取れる。

grads_rain

nakametpy.cmaps.grads_rainbow()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_rainbow_256lev という名前でも受け取れる。

grads_rainbow

nakametpy.cmaps.grads_red()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_red_256lev という名前でも受け取れる。

grads_red

nakametpy.cmaps.grads_satellite()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_satellite_256lev という名前でも受け取れる。

grads_satellite

nakametpy.cmaps.grads_snow()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_snow_256lev という名前でも受け取れる。

grads_snow

nakametpy.cmaps.grads_spectral()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_spectral_256lev という名前でも受け取れる。

grads_spectral

nakametpy.cmaps.grads_terrain1()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_terrain1_256lev という名前でも受け取れる。

grads_terrain1

nakametpy.cmaps.grads_terrain2()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_terrain2_256lev という名前でも受け取れる。

grads_terrain2

nakametpy.cmaps.grads_y2b()[source]

GrADSのcolormaps.gsのカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは grads_y2b_256lev という名前でも受け取れる。

grads_y2b

nakametpy.cmaps.jma_BlWhRe_linear()[source]

brown -> orange -> white -> light blue -> blue -> slate blue

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_BlWhRe_linear_256lev.

jma_BlWhRe_linear

nakametpy.cmaps.jma_BlWhRe_list()[source]

blue -> white -> red

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_BlWhRe_list_11lev.

jma_BlWhRe_list

nakametpy.cmaps.jma_linear()[source]

気象庁が降水量をプロットする際に利用しているカラーマップを模している。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは jma_linear_256lev という名前でも受け取れる。

jma_linear

See also

jma_list

nakametpy.cmaps.jma_list()[source]

気象庁が降水量をプロットする際に利用しているカラーマップを模している。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは jma_list_9lev という名前でも受け取れる。

jma_list

See also

jma_linear

nakametpy.cmaps.jma_precip_anom_linear()[source]

brown -> orange -> white -> limegreen -> green -> darkgreen

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_precip_anom_256lev.

jma_precip_anom_linear

nakametpy.cmaps.jma_precip_anom_list()[source]

brown -> orange -> white -> limegreen -> green -> darkgreen

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_precip_anom_11lev.

jma_precip_anom_list

nakametpy.cmaps.jma_precip_anom_white_linear()[source]

brown -> orange -> white -> limegreen -> green -> darkgreen

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_precip_anom_white_256lev.

jma_precip_anom_white_linear

nakametpy.cmaps.jma_precip_anom_white_list()[source]

brown -> orange -> white -> limegreen -> green -> darkgreen

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_precip_anom_white_11lev.

jma_precip_anom_white_list

nakametpy.cmaps.jma_snow_anom_linear()[source]

brown -> orange -> white -> light blue -> blue -> slate blue

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_snow_anom_256lev.

jma_snow_anom_linear

nakametpy.cmaps.jma_snow_anom_list()[source]

brown -> orange -> white -> light blue -> blue -> slate blue

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_snow_anom_11lev.

jma_snow_anom_list

nakametpy.cmaps.jma_snow_anom_white_linear()[source]

brown -> orange -> white -> light blue -> blue -> slate blue

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_snow_anom_256lev.

jma_snow_anom_white_linear

nakametpy.cmaps.jma_snow_anom_white_list()[source]

brown -> orange -> white -> light blue -> blue -> slate blue

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_snow_anom_11lev.

jma_snow_anom_white_list

nakametpy.cmaps.jma_sunlight_anom_linear()[source]

indigo -> light purple -> white -> yellow -> orange -> red

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_sunlight_anom_256lev.

jma_sunlight_anom_linear

nakametpy.cmaps.jma_sunlight_anom_list()[source]

indigo -> light purple -> white -> yellow -> orange -> red

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_sunlight_anom_11lev.

jma_sunlight_anom_list

nakametpy.cmaps.jma_sunlight_anom_white_linear()[source]

indigo -> light purple -> white -> yellow -> orange -> red

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_sunlight_anom_256lev.

jma_sunlight_anom_white_linear

nakametpy.cmaps.jma_sunlight_anom_white_list()[source]

indigo -> light purple -> white -> yellow -> orange -> red

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_sunlight_anom_white_11lev.

jma_sunlight_anom_white_list

nakametpy.cmaps.jma_temp_anom_linear()[source]

dark blue -> blue -> light blue -> white -> yellow -> orange -> red

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_temp_anom_linear_256lev.

jma_temp_anom_linear

nakametpy.cmaps.jma_temp_anom_list()[source]

dark blue -> blue -> light blue -> white -> yellow -> orange -> red

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_temp_anom_11lev.

jma_temp_anom_list

nakametpy.cmaps.jma_temp_anom_white_linear()[source]

dark blue -> blue -> light blue -> white -> yellow -> orange -> red

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_temp_anom_256lev.

jma_temp_anom_white_linear

nakametpy.cmaps.jma_temp_anom_white_list()[source]

dark blue -> blue -> light blue -> white -> yellow -> orange -> red

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

The object name is jma_temp_anom_white_11lev.

jma_temp_anom_list

nakametpy.cmaps.mpl_default_color_cyclic(idx)[source]

Get matplotlib default color in cyclic

Parameters

idx (int) –

Returns

color code – “#??????”

Return type

str

nakametpy.cmaps.precip3()[source]

降水量をプロットする際に利用することを想定したカラーマップ。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは precip3_256lev という名前でも受け取れる。

precip3

nakametpy.cmaps.sunshine()[source]

NCLのcolor table中の sunshine_9lev に対応する。 levelは256である。

Returns

cmap

Return type

matplotlib.colors.LinearSegmentedColormap

Notes

オブジェクトは sunshine_256lev という名前でも受け取れる。

sunshine