Historical

Climatology

Through this endpoint you can obtain the weather history of the selected weather station. This endpoint is used through the Http GET method.

To make use of this endpoint you must follow the following steps:

  • This endpoint is made up of the base_URL + /api + /Historical/Climatology/ (https://webapi.aclimate.org/api/Historical/Climatology/)

  • This endpoint needs two parameters:

    • weather_stations: You must enter the id of the weather station from which you want to get the information, if you want to obtain climatology for different stations, you must separate each Id by “,”.

    • format: to learn more about format parameter click here format.

The endpoint must follow the following format https://webapi.aclimate.org/api/Historical/Climatology/{weather_stations}/{format}

Examples:

Climatology parameters

Parameter

Description

Type

weather_station

Corresponds to the id of the weather station to which the data belongs.

ObjectId

monthly_data

To learn more click here monthly_data.

Array of monthly data

JSON format example:

climatology_example_1 json view

CSV format example:

climatology_example_2 csv view

HistoricalClimatic

Through this endpoint you can obtain the historical climatic data of the selected weather station. This endpoint is used through the Http GET method.

To make use of this endpoint you must follow the following steps:

  • This endpoint is made up of the base_URL + /api + /Historical/HistoricalClimatic/ (https://webapi.aclimate.org/api/Historical/HistoricalClimatic/)

  • This endpoint needs two parameters:

    • weather_stations: You must enter the id of the weather station from which you want to get the information, if you want to obtain historical climatic for different stations, you must separate each Id by “,”.

    • format: to learn more about format parameter click here format.

The endpoint must follow the following format https://webapi.aclimate.org/api/Historical/HistoricalClimatic/{weather_stations}/{format}

Examples:

Historical Climatic parameters

Parameter

Description

Type

weather_station

Corresponds to the id of the weather station to which the data belongs.

ObjectId

year

Indicates the year to which the data belongs.

ObjectId

monthly_data

To learn more click here monthly_data.

Array of monthly data

JSON format example:

historical_climatic_example_1 json view

CSV format example:

historical_climatic_example_2 csv view

HistoricalYieldYears

Through this endpoint you can obtain the years that contain historical climatic data of the selected weather station. This endpoint is used through the Http GET method.

To make use of this endpoint you must follow the following steps:

  • This endpoint is made up of the base_URL + /api + /Historical/HistoricalYieldYears/ (https://webapi.aclimate.org/api/Historical/HistoricalYieldYears/)

  • This endpoint needs two parameters:

    • weather_stations: You must enter the id of the weather station from which you want to get the information, if you want to obtain historical yield data for different stations, you must separate each Id by “,”.

    • format: to learn more about format parameter click here format.

The endpoint must follow the following format https://webapi.aclimate.org/api/Historical/HistoricalYieldYears/{weather_stations}/{format}

Examples:

Historical Yield Years parameters

Parameter

Description

Type

year

Indicates the years available to obtain.

Integer

JSON format example:

historical_yield_year_example_1 json view

CSV format example:

historical_yield_year_example_2 csv view

HistoricalYield

Through this endpoint you can obtain the historical yield data per year of the selected weather station. This endpoint is used through the Http GET method.

To make use of this endpoint you must follow the following steps:

  • This endpoint is made up of the base_URL + /api + /Historical/HistoricalYield/ (https://webapi.aclimate.org/api/Historical/HistoricalYield/)

  • This endpoint needs two parameters:

    • weather_stations: You must enter the id of the weather station from which you want to get the information, if you want to obtain historical yield data for different stations, you must separate each Id by “,”.

    • format: to learn more about format parameter click here format.

    • years: You must enter the year from which you want to get the information, if you want to obtain historical yield data for different years, you must separate each year by “,”.

The endpoint must follow the following format https://webapi.aclimate.org/api/Historical/HistoricalYield/{weather_stations}/{years}/{format}

Examples:

Historical Yield parameters

Parameter

Description

Type

weather_station

This parameter indicates the ID of the weather station to which the forecast data belongs.

ObjectId

source

Indicates the Id of the data source.

Double

yield

To learn more click here Yield Crop.

Array of yield crop

JSON format example:

historical_yield_example_1 json view

CSV format example:

historical_yield_example_2 csv view