--- title: Uhi keywords: fastai sidebar: home_sidebar summary: "API details." description: "API details." nb_path: "01_uhi.ipynb" ---
{% raw %}
{% endraw %} {% raw %}
{% endraw %} {% raw %}

class Uhi[source]

Uhi(path_file, station_label, datetime_label, temperature_label, latitude_label, longitude_label)

Represents an image(s) of urban heat island(s)

Attributes: path_file: string station_label: string datetime_label: string temperature_label: string latitude_label: string longitude_label: string

{% endraw %} {% raw %}

class OtherDf[source]

OtherDf(df, id, name)

{% endraw %} {% raw %}

class Util[source]

Util()

{% endraw %} {% raw %}
{% endraw %} {% raw %}

Uhi.plotImagesPerDaysArray[source]

Uhi.plotImagesPerDaysArray(outputFolder, daysArray, extent, hasBorders=None, hasLimits=False, transects=[], Z_UNIT='°C', otherDf_id=None, otherDf_name=None, mapbox_username='', mapbox_token='', prefixFile='', hasImage=True, hasScaleBar=True, hasCompassRose=True, hasLegend=True, hasColorbar=True, transparency=0.7, showPoints=False, contour='contourLine', drawMinMaxT=False)

Input: outputFolder: string of folder where the images of urban heat islands are saved. daysArray: array of strings of days to plot the urban heat islands. extent: array of 4 coordinates of the extent of the map. hasBorders: geojson to border the urban heat island in a map. (default:None) hasLimits: (default:False) transects: (default:[]) Z_UNIT: unit of measure to be displayed in colobar. (default: '°C') otherDf_id: id of the temperature station that will not be included in the UHI's triangulation but will be displayed. (default: None) otherDf_name: name of the temperature station that will not be included in the UHI's triangulation but will be displayed. (default: None) mapbox_username: mapbox's username to plot background map. (default: '') mapbox_token: mapbox's token to plot background map. (default: '') prefixFile: string of the output prefix filename. (default:'') hasImage: boolean that decides if the image needs a Mapbox Map or not. hasScaleBar: boolean that decides if the image needs a Scaler Bar or not. hasCompassRose: boolean that decides if the image needs a Compass Rose or not. hasLegend: boolean that decides if the image neede a Legend or not. hasColorbar: boolean that decides if the image needs a color bar or not. transparency: trasparency of the UHI's triangulation. showPoints: boolean that decisdes if the image needs show station points. contour: drawMinMaxT: Output: None

{% endraw %}