PINE LIBRARY
DatasetWeatherTokyoMeanAirTemperature

Library "DatasetWeatherTokyoMeanAirTemperature"
Provides a data set of the monthly mean air temperature (°C) for the city of Tokyo in Japan.
this was just for fun, no financial implications in this.
reference:
data.jma.go.jp/obd/stats/etrn/view/monthly_s3_en.php?block_no=47662
TOKYO WMO Station ID:47662 Lat 35o41.5'N Lon 139o45.0'E
year_()
the years of the data set.
Returns: array<int> : year values.
january()
the january values of the dataset
Returns: array\<float> : data values for january.
february()
the february values of the dataset
Returns: array\<float> : data values for february.
march()
the march values of the dataset
Returns: array\<float> : data values for march.
april()
the april values of the dataset
Returns: array\<float> : data values for april.
may()
the may values of the dataset
Returns: array\<float> : data values for may.
june()
the june values of the dataset
Returns: array\<float> : data values for june.
july()
the july values of the dataset
Returns: array\<float> : data values for july.
august()
the august values of the dataset
Returns: array\<float> : data values for august.
september()
the september values of the dataset
Returns: array\<float> : data values for september.
october()
the october values of the dataset
Returns: array\<float> : data values for october.
november()
the november values of the dataset
Returns: array\<float> : data values for november.
december()
the december values of the dataset
Returns: array\<float> : data values for december.
annual()
the annual values of the dataset
Returns: array\<float> : data values for annual.
select_month(idx)
get the temperature values for a specific month.
Parameters:
idx: int, month index (1 -> 12 | any other value returns annual average values).
Returns: array\<float> : data values for selected month.
select_value(year_, month_)
get the temperature value of a specified year and month.
Parameters:
year_: int, year value.
month_: int, month index (1 -> 12 | any other value returns annual average values).
Returns: float : value of specified year and month.
diff_to_median(month_)
the difference of the month air temperature (ºC) to the median of the sample.
Parameters:
month_: int, month index (1 -> 12 | any other value returns annual average values).
Returns: float : difference of current month to median in (Cº)
Provides a data set of the monthly mean air temperature (°C) for the city of Tokyo in Japan.
this was just for fun, no financial implications in this.
reference:
data.jma.go.jp/obd/stats/etrn/view/monthly_s3_en.php?block_no=47662
TOKYO WMO Station ID:47662 Lat 35o41.5'N Lon 139o45.0'E
year_()
the years of the data set.
Returns: array<int> : year values.
january()
the january values of the dataset
Returns: array\<float> : data values for january.
february()
the february values of the dataset
Returns: array\<float> : data values for february.
march()
the march values of the dataset
Returns: array\<float> : data values for march.
april()
the april values of the dataset
Returns: array\<float> : data values for april.
may()
the may values of the dataset
Returns: array\<float> : data values for may.
june()
the june values of the dataset
Returns: array\<float> : data values for june.
july()
the july values of the dataset
Returns: array\<float> : data values for july.
august()
the august values of the dataset
Returns: array\<float> : data values for august.
september()
the september values of the dataset
Returns: array\<float> : data values for september.
october()
the october values of the dataset
Returns: array\<float> : data values for october.
november()
the november values of the dataset
Returns: array\<float> : data values for november.
december()
the december values of the dataset
Returns: array\<float> : data values for december.
annual()
the annual values of the dataset
Returns: array\<float> : data values for annual.
select_month(idx)
get the temperature values for a specific month.
Parameters:
idx: int, month index (1 -> 12 | any other value returns annual average values).
Returns: array\<float> : data values for selected month.
select_value(year_, month_)
get the temperature value of a specified year and month.
Parameters:
year_: int, year value.
month_: int, month index (1 -> 12 | any other value returns annual average values).
Returns: float : value of specified year and month.
diff_to_median(month_)
the difference of the month air temperature (ºC) to the median of the sample.
Parameters:
month_: int, month index (1 -> 12 | any other value returns annual average values).
Returns: float : difference of current month to median in (Cº)
Pine脚本库
秉承TradingView的精神,作者已将此Pine代码作为开源库发布,以便我们社区的其他Pine程序员可以重用它。向作者致敬!您可以私下或在其他开源出版物中使用此库,但在出版物中重用此代码须遵守网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
Pine脚本库
秉承TradingView的精神,作者已将此Pine代码作为开源库发布,以便我们社区的其他Pine程序员可以重用它。向作者致敬!您可以私下或在其他开源出版物中使用此库,但在出版物中重用此代码须遵守网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。