# \#python

**URL:** https://forum.cmascenter.org/tag/python/6.md

[Latest](https://forum.cmascenter.org/latest.md) · [Categories](https://forum.cmascenter.org/categories.md) · [Tags](https://forum.cmascenter.org/tags.md)

---

## [I want Tips on Using Python with CMAQ Outputs — Any suggestion?](https://forum.cmascenter.org/t/i-want-tips-on-using-python-with-cmaq-outputs-any-suggestion/5833)

<div class="topic-metadata">

**Author:** [@Catherine](https://forum.cmascenter.org/u/Catherine)\
**Replies:** 1\
**Last updated:** [June 3, 2025, 3:02pm UTC](https://forum.cmascenter.org/t/i-want-tips-on-using-python-with-cmaq-outputs-any-suggestion/5833 "2025-06-03T15:02:10Z")

</div>

Hey everyone, I am new to CMAQ & trying to get a better handle on analyzing model outputs using Python. I have seen a bunch of tools and scripts floating around but I am a bit overwhelmed on where to start when it comes…

---

## [Issue with Adding DMS to CMAQ Ocean File for 4km Domain (CMAQ\_v5.4, cb6r5\_ae7\_aq)](https://forum.cmascenter.org/t/issue-with-adding-dms-to-cmaq-ocean-file-for-4km-domain-cmaq-v5-4-cb6r5-ae7-aq/5573)

<div class="topic-metadata">

**Author:** [@hhallaji](https://forum.cmascenter.org/u/hhallaji)\
**Replies:** 8\
**Last updated:** [February 12, 2025, 3:08pm UTC](https://forum.cmascenter.org/t/issue-with-adding-dms-to-cmaq-ocean-file-for-4km-domain-cmaq-v5-4-cb6r5-ae7-aq/5573 "2025-02-12T15:08:20Z")

</div>

Hello everyone, I followed the CMAQ tutorial for creating an ocean file as input to CMAQ and successfully generated an ocean file for the 4km domain using SA\_V4.3.1. I then used the attached Python script to add DMS to …

---

## [Cost/EMF installation error](https://forum.cmascenter.org/t/cost-emf-installation-error/3653)

<div class="topic-metadata">

**Author:** [@ABAYAYE](https://forum.cmascenter.org/u/ABAYAYE)\
**Replies:** 2\
**Last updated:** [October 25, 2022, 6:07pm UTC](https://forum.cmascenter.org/t/cost-emf-installation-error/3653 "2022-10-25T18:07:01Z")

</div>

Good Evening team. I m trying to install CosT Software but at the last stage its showing error java.lang.ExceptionInInitializerError Can someone help me please. Thanks sincerly

---

## [Cross section tools](https://forum.cmascenter.org/t/cross-section-tools/3657)

<div class="topic-metadata">

**Author:** [@Tris](https://forum.cmascenter.org/u/Tris)\
**Replies:** 1\
**Last updated:** [October 25, 2022, 11:07am UTC](https://forum.cmascenter.org/t/cross-section-tools/3657 "2022-10-25T11:07:22Z")

</div>

Dear all, I am trying to plot the cross section of ozone concentration with the terrain height at the bottom of the plot, but could not find the suitable python package to do so, I wonder if there are any tools to make …

---

## [Some useful examples](https://forum.cmascenter.org/t/some-useful-examples/2666)

<div class="topic-metadata">

**Author:** [@barronh](https://forum.cmascenter.org/u/barronh)\
**Replies:** 0\
**Last updated:** [September 24, 2021, 8:18pm UTC](https://forum.cmascenter.org/t/some-useful-examples/2666 "2021-09-24T20:18:13Z")

</div>

Hi Python users! I’m excited to be the first to post in the forum. Over the next couple weeks, I am going to post some python examples that can be useful for CAMx, CMAQ, and GEOS-Chem model pre and post processing. Toda…

---

## [Extracting text/info from a PDF file](https://forum.cmascenter.org/t/extracting-text-info-from-a-pdf-file/2937)

<div class="topic-metadata">

**Author:** [@bukim1](https://forum.cmascenter.org/u/bukim1)\
**Replies:** 0\
**Last updated:** [December 30, 2021, 1:22pm UTC](https://forum.cmascenter.org/t/extracting-text-info-from-a-pdf-file/2937 "2021-12-30T13:22:34Z")

</div>

This code reads a PDF file (see an example pdf input file below and the instruction) and parse texts to produce a list of monitor locations in a csv file. eanet\_site\_info\_pdf\_reader.py (3.5 KB) Note that pdfminder.six …

---

## [Heatmap Plotter](https://forum.cmascenter.org/t/heatmap-plotter/2936)

<div class="topic-metadata">

**Author:** [@bukim1](https://forum.cmascenter.org/u/bukim1)\
**Replies:** 0\
**Last updated:** [December 30, 2021, 12:36pm UTC](https://forum.cmascenter.org/t/heatmap-plotter/2936 "2021-12-30T12:36:39Z")

</div>

I am sharing a code that can be used to create “heatmap” plots to show data with two temporal scales (e.g., day of month vs month). MakeHeatmapPlot.py (7.1 KB) For plots with days of month, the code will handle the lea…

---

## [Shapefile creator for modeling domains](https://forum.cmascenter.org/t/shapefile-creator-for-modeling-domains/2678)

<div class="topic-metadata">

**Author:** [@bukim1](https://forum.cmascenter.org/u/bukim1)\
**Replies:** 9\
**Last updated:** [December 16, 2021, 10:56pm UTC](https://forum.cmascenter.org/t/shapefile-creator-for-modeling-domains/2678 "2021-12-16T22:56:00Z")

</div>

Hi all modelers using (or will use) Python! I start posting some of my Python scripts (likely short ones) that help my routine tasks at my work. Today’s code is the 1st script. This script generates three shapefiles ba…

---

## ["4-panel" plot for emission data QA](https://forum.cmascenter.org/t/4-panel-plot-for-emission-data-qa/2838)

<div class="topic-metadata">

**Author:** [@bukim1](https://forum.cmascenter.org/u/bukim1)\
**Replies:** 0\
**Last updated:** [November 22, 2021, 3:59pm UTC](https://forum.cmascenter.org/t/4-panel-plot-for-emission-data-qa/2838 "2021-11-22T15:59:23Z")

</div>

four\_panel\_emission\_inventory\_qa\_plotter.20211122.py (21.4 KB) This script generates “4-panel” plots that can be used to review two emission scenarios. The script will produces PNG files and PDF files for each category …

---

## [Soccer plotter - Example](https://forum.cmascenter.org/t/soccer-plotter-example/2694)

<div class="topic-metadata">

**Author:** [@bukim1](https://forum.cmascenter.org/u/bukim1)\
**Replies:** 0\
**Last updated:** [October 8, 2021, 5:01pm UTC](https://forum.cmascenter.org/t/soccer-plotter-example/2694 "2021-10-08T17:01:03Z")

</div>

MakeSoccerPlot.20211008.py creates the figure shown in this page from January\_Somewhere.csv file. January\_Somewhere.csv (106 Bytes) MakeSoccerPlot.20211008.py (2.0 KB)

---

## [Hodogram (Wind-Pollutant Timeseries on polar axis)](https://forum.cmascenter.org/t/hodogram-wind-pollutant-timeseries-on-polar-axis/2693)

<div class="topic-metadata">

**Author:** [@bukim1](https://forum.cmascenter.org/u/bukim1)\
**Replies:** 0\
**Last updated:** [October 8, 2021, 4:55pm UTC](https://forum.cmascenter.org/t/hodogram-wind-pollutant-timeseries-on-polar-axis/2693 "2021-10-08T16:55:07Z")

</div>

“WindHodogramPlot.py” generates the figure shown in this page from an Excel file that contains time series data. Currently, the code is very strict about filename of Excel file and the structure of data in the Excel as w…

---

## [BuglePlotter - Example (English)](https://forum.cmascenter.org/t/bugleplotter-example-english/2703)

<div class="topic-metadata">

**Author:** [@bukim1](https://forum.cmascenter.org/u/bukim1)\
**Replies:** 0\
**Last updated:** [October 12, 2021, 1:16pm UTC](https://forum.cmascenter.org/t/bugleplotter-example-english/2703 "2021-10-12T13:16:26Z")

</div>

MakeBuglePlot.py creates the following figures from “Sometime\_Somewhere\_FB.csv” and “Sometime\_Somewhere\_FE.csv”. MakeBuglePlot.Eng.py (3.5 KB) Sometime\_Somewhere\_FB.csv (119 Bytes) Sometime\_Somewhere\_FE.csv (120 Bytes…

---

## [BuglePlotter - Example (non-English)](https://forum.cmascenter.org/t/bugleplotter-example-non-english/2696)

<div class="topic-metadata">

**Author:** [@bukim1](https://forum.cmascenter.org/u/bukim1)\
**Replies:** 0\
**Last updated:** [October 8, 2021, 5:26pm UTC](https://forum.cmascenter.org/t/bugleplotter-example-non-english/2696 "2021-10-08T17:26:33Z")

</div>

MakeBuglePlot.py creates the following figures from “1월\_서울\_FB.csv” and “1월\_서울\_FE.csv”. This script is also an example showing how various languages (e.g., Korean in this case) can be used in files and figures too. MakeB…

---

## [Scripts for Google Traffic Map Capture/Process](https://forum.cmascenter.org/t/scripts-for-google-traffic-map-capture-process/2695)

<div class="topic-metadata">

**Author:** [@bukim1](https://forum.cmascenter.org/u/bukim1)\
**Replies:** 2\
**Last updated:** [October 12, 2021, 11:14am UTC](https://forum.cmascenter.org/t/scripts-for-google-traffic-map-capture-process/2695 "2021-10-12T11:14:44Z")

</div>

get\_google\_traffic\_map\_once.py captures Google Traffic images as shown below: Currently, the script takes screen shots every 10 min. get\_google\_traffic\_map\_once.py (1.1 KB) preprocessing\_pngs.py crops the captured …
