ACIS2 Data Analysis and Graphical Generation
Project description
xmACIS2Py
Creating xmACIS2 Summary Graphics in Python
Jupyter Lab Tutorials
- In this example we will make 30 and 90-day temperature and precipitation summaries for KRAL - click here
- In this example we will use a custom date range (via changing the optional arguments) and make a temperature and precipitation graphic for PASN (This also is an example with missing data!") - click here
- In this example we will remove the running mean from a temperature summary (via changing the optional arguments) for KJFK - click here
- In this example we will add the running sum to a precipitation summary graphic (via changing the optional arguments) for KRAL - click here
- In this example we will plot the maximum temperature summary for KLAX - click here
- In this example we will plot the minimum temperature summary for KONT - click here
- In this example we will plot the average temperature summary for KSTC - click here
- In this example we will plot the average temperature departure summary for KSTC - click here
- In this example we will plot the heating degree days summary for KRAL - click here
- In this example we will plot the cooling degree days summary for KBRO - click here
- In this example we will plot the growing degree days summary for KBRO - click here
Table Of Contents
- plot_temperature_summary(station, product_type)
- plot_precipitation_summary(station, product_type)
- plot_maximum_temperature_summary(station, product_type)
- plot_minimum_temperature_summary(station, product_type)
- plot_average_temperature_summary(station, product_type)
- plot_average_temperature_departure_summary(station, product_type)
- plot_hdd_summary(station, product_type)
- plot_cdd_summary(station, product_type)
- plot_gdd_summary(station, product_type)
- References
plot_temperature_summary(station, product_type)
This function plots a graphic showing the Temperature Summary for a given station for a given time period.
Required Arguments:
-
station (String) - The identifier of the ACIS2 station.
-
product_type (String or Integer) - The type of product. 'Past 7 Days' as a string or enter 7 for the same result. A value of 'custom' or 'Custom' will result in the user entering a custom start/stop date.
Optional Arguments:
-
start_date (String) - Default=None. Enter the start date as a string (i.e. 01-01-2025)
-
end_date (String) - Default=None. Enter the end date as a string (i.e. 01-01-2025)
-
show_running_mean (Boolean) - Default = True. When set to False, running means will be hidden
plot_precipitation_summary(station, product_type)
This function plots a graphic showing the Precipitation Summary for a given station for a given time period.
Required Arguments:
-
station (String) - The identifier of the ACIS2 station.
-
product_type (String or Integer) - The type of product. 'Past 7 Days' as a string or enter 7 for the same result. A value of 'custom' or 'Custom' will result in the user entering a custom start/stop date.
Optional Arguments:
-
start_date (String) - Default=None. Enter the start date as a string (i.e. 01-01-2025)
-
end_date (String) - Default=None. Enter the end date as a string (i.e. 01-01-2025)
-
show_running_sum (Boolean) - Default = False. When set to True, running sums will be shown
plot_maximum_temperature_summary(station, product_type)
This function plots a graphic showing the Maximum Temperature Summary for a given station for a given time period.
Required Arguments:
-
station (String) - The identifier of the ACIS2 station.
-
product_type (String or Integer) - The type of product. 'Past 7 Days' as a string or enter 7 for the same result. A value of 'custom' or 'Custom' will result in the user entering a custom start/stop date.
Optional Arguments:
-
start_date (String) - Default=None. Enter the start date as a string (i.e. 01-01-2025)
-
end_date (String) - Default=None. Enter the end date as a string (i.e. 01-01-2025)
-
show_running_mean (Boolean) - Default = True. When set to False, running means will be hidden
plot_minimum_temperature_summary(station, product_type)
This function plots a graphic showing the Minimum Temperature Summary for a given station for a given time period.
Required Arguments:
-
station (String) - The identifier of the ACIS2 station.
-
product_type (String or Integer) - The type of product. 'Past 7 Days' as a string or enter 7 for the same result. A value of 'custom' or 'Custom' will result in the user entering a custom start/stop date.
Optional Arguments:
-
start_date (String) - Default=None. Enter the start date as a string (i.e. 01-01-2025)
-
end_date (String) - Default=None. Enter the end date as a string (i.e. 01-01-2025)
-
show_running_mean (Boolean) - Default = True. When set to False, running means will be hidden
plot_average_temperature_summary(station, product_type)
This function plots a graphic showing the Average Temperature Summary for a given station for a given time period.
Required Arguments:
-
station (String) - The identifier of the ACIS2 station.
-
product_type (String or Integer) - The type of product. 'Past 7 Days' as a string or enter 7 for the same result. A value of 'custom' or 'Custom' will result in the user entering a custom start/stop date.
Optional Arguments:
-
start_date (String) - Default=None. Enter the start date as a string (i.e. 01-01-2025)
-
end_date (String) - Default=None. Enter the end date as a string (i.e. 01-01-2025)
-
show_running_mean (Boolean) - Default = True. When set to False, running means will be hidden
plot_average_temperature_departure_summary(station, product_type)
This function plots a graphic showing the Average Temperature Departure Summary for a given station for a given time period.
Required Arguments:
-
station (String) - The identifier of the ACIS2 station.
-
product_type (String or Integer) - The type of product. 'Past 7 Days' as a string or enter 7 for the same result. A value of 'custom' or 'Custom' will result in the user entering a custom start/stop date.
Optional Arguments:
-
start_date (String) - Default=None. Enter the start date as a string (i.e. 01-01-2025)
-
end_date (String) - Default=None. Enter the end date as a string (i.e. 01-01-2025)
-
show_running_mean (Boolean) - Default = True. When set to False, running means will be hidden
plot_hdd_summary(station, product_type):
This function plots a graphic showing the Heating Degree Days Summary for a given station for a given time period.
Required Arguments:
-
station (String) - The identifier of the ACIS2 station.
-
product_type (String or Integer) - The type of product. 'Past 7 Days' as a string or enter 7 for the same result. A value of 'custom' or 'Custom' will result in the user entering a custom start/stop date.
Optional Arguments:
-
start_date (String) - Default=None. Enter the start date as a string (i.e. 01-01-2025)
-
end_date (String) - Default=None. Enter the end date as a string (i.e. 01-01-2025)
-
show_running_mean (Boolean) - Default = True. When set to False, running means and sums will be hidden
plot_cdd_summary(station, product_type):
This function plots a graphic showing the Cooling Degree Days Summary for a given station for a given time period.
Required Arguments:
-
station (String) - The identifier of the ACIS2 station.
-
product_type (String or Integer) - The type of product. 'Past 7 Days' as a string or enter 7 for the same result. A value of 'custom' or 'Custom' will result in the user entering a custom start/stop date.
Optional Arguments:
-
start_date (String) - Default=None. Enter the start date as a string (i.e. 01-01-2025)
-
end_date (String) - Default=None. Enter the end date as a string (i.e. 01-01-2025)
-
show_running_mean (Boolean) - Default = True. When set to False, running means and sums will be hidden
plot_gdd_summary(station, product_type):
This function plots a graphic showing the Growing Degree Days Summary for a given station for a given time period.
Required Arguments:
-
station (String) - The identifier of the ACIS2 station.
-
product_type (String or Integer) - The type of product. 'Past 7 Days' as a string or enter 7 for the same result. A value of 'custom' or 'Custom' will result in the user entering a custom start/stop date.
Optional Arguments:
-
start_date (String) - Default=None. Enter the start date as a string (i.e. 01-01-2025)
-
end_date (String) - Default=None. Enter the end date as a string (i.e. 01-01-2025)
-
show_running_mean (Boolean) - Default = True. When set to False, running means and sums will be hidden
References
-
MetPy: May, R. M., Goebbert, K. H., Thielen, J. E., Leeman, J. R., Camron, M. D., Bruick, Z., Bruning, E. C., Manser, R. P., Arms, S. C., and Marsh, P. T., 2022: MetPy: A Meteorological Python Library for Data Analysis and Visualization. Bull. Amer. Meteor. Soc., 103, E2273-E2284, https://doi.org/10.1175/BAMS-D-21-0125.1.
-
NumPy: Harris, C.R., Millman, K.J., van der Walt, S.J. et al. Array programming with NumPy. Nature 585, 357–362 (2020). DOI: 10.1038/s41586-020-2649-2. (Publisher link).
-
Pandas: author = {The pandas development team}, title = {pandas-dev/pandas: Pandas}, publisher = {Zenodo}, version = {latest}, doi = {10.5281/zenodo.3509134}, url = {https://doi.org/10.5281/zenodo.3509134} }
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file xmacis2py-1.2.4.tar.gz.
File metadata
- Download URL: xmacis2py-1.2.4.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c22e2f60d5285b506378518a63cd9b04ea389a8cf4b644f93905235a19489d7d
|
|
| MD5 |
19b318b0df2206ff7aeb8960fa55931f
|
|
| BLAKE2b-256 |
717a042872317de9053101ed9a792ede926b22f3f02267161f506972e04dc6ec
|