Creates a chart using the arcpy library and populates the chart from a table. This could be from the table created using the createTable() function and the Cal-Adapt API

createChart(dateField, ClimateDesc1, ClimateField, tableName)

Arguments

dateField

Date field to use as x-axis in chart

ClimateDesc1

Categorical field describing data, will be used in legend

ClimateField

Climatic variable to plot in chart

tableName

Table containing the data to chart

Details

caladapt-py has the ability to store copies of objects downloaded from Cal-Adapt. An example of this would be the source rasters in netcdf format and tabular data queried using user defined AOI. Using this function you can easily create a chart in ArcGIS Pro of the data returned from the Cal-Adapt API.

See also