Evaluation of Python Libraries for Visualization of Weather Fields

Authors

DOI:

https://doi.org/10.5753/reic.2026.7493

Keywords:

Graphics libraries evaluation, Visualization, Python language, Atmospheric models, BRAMS

Abstract

BRAMS forecasting workflows generate multidimensional atmospheric fields that are post-processed with legacy GrADS scripts, which limits integration with current web-oriented dissemination pipelines. This paper investigates a Python-based alternative for the final visualization stage of this workflow. We implemented a controlled qualitative comparative study in which Cartopy, Plotly, Bokeh, and Folium were evaluated under the same preprocessing conditions, using BRAMS outputs and equivalent geographic and variable selections. The assessment followed an explicit framework based on functional coverage, interactivity, integration effort, and output suitability. Results showed a consistent trade-off between projection/cartographic quality and interactive delivery. In the evaluated scenarios, the combination of Folium, Matplotlib, and geojsoncontour provided the best balance for interactive contour-based map dissemination. As an application contribution, we integrated this pipeline into a Streamlit interface that enables non-programmer users to explore variables and pressure levels with real-time visual feedback. These findings provide a reproducible basis for updating BRAMS visualization workflows while preserving operational usefulness.

Downloads

Não há dados estatísticos.

Referências

Arms, S., Chastang, J., Grover, M., Thielen, J., Wilson, M., and Dirks, D. (2020). Introducing students to scientific python for atmospheric science. Bulletin of the American Meteorological Society, 101(9):E1492–E1496. DOI: 10.1175/BAMS-D-20-0069.1.

Corte-Real, J. (2015). A importância da previsão do tempo na prevenção de riscos meteorológicos. Finisterra, 50(100). DOI: 10.18055/Finis7867.

Doty, B. E., Kinter III, J. L., Fiorino, M., Hooper, D., Budich, R., Winger, K., Schulzweida, U., Calori, L., Holt, T., and Meier, K. (1997). The grid analysis and display system (grads): An update for 1997. In 13th International Conference on IIPS for Meteorology, Oceanography and Hydrology, Amer. Meteor. Soc., Longbeach, CA, page 117. American Meteorological Society.

Drach, R. and Caron, J. (2013). Data Representation, pages 25–37. Springer Berlin Heidelberg, Berlin, Heidelberg. DOI: 10.1007/978-3-642-36464-8_5.

Frants, M. and Ohman, M. D. (2024). Online visualization of geospatial cruise data with plotly python. In American Geophysical Union, Ocean Sciences Meeting. American Geophysical Union. ID AGU: DO14B-2493.

Freitas, S. R., Panetta, J., Longo, K. M., Rodrigues, L. F., Moreira, D. S., Rosario, N. E., Silva Dias, P. L., Silva Dias, M. A., Souza, E. P., Freitas, E. D., et al. (2017). The brazilian developments on the regional atmospheric modeling system (brams 5.2): an integrated environmental model tuned for tropical areas. Geoscientific Model Development, 10(1):189–222. DOI: 10.5194/gmd-10-189-2017.

Gupta, P. and Bagchi, A. (2024). Introduction to numpy. In Essentials of Python for Artificial Intelligence and Machine Learning, pages 127–159. Springer. DOI: 10.1007/978-3-031-43725-0_4.

Hoyer, S. and Hamman, J. (2017). xarray: N-D labeled arrays and datasets in Python. Journal of Open Research Software, 5(1). DOI: 10.5334/jors.148.

Jolly, K. (2018). Hands-on data visualization with Bokeh: Interactive web plotting for Python using Bokeh. Packt Publishing Ltd.

Kadiyala, A. and Kumar, A. (2017). Applications of python to evaluate environmental data science problems. Environmental Progress & Sustainable Energy, 36(6):1580–1586. DOI: 10.1002/ep.12786.

Lin, J. W.-B. (2012). Why python is the next wave in earth sciences computing. Bulletin of the American Meteorological Society, 93(12):1823–1824. DOI: 10.1175/BAMS-D-12-00148.1.

Lynch, P. (2008). The origins of computer weather prediction and climate modeling. Journal of computational physics, 227(7):3431–3444. DOI: 10.1016/j.jcp.2007.02.034.

May, R. and Bruick, Z. (2019). Metpy: An community-driven, open-source python toolkit for meteorology. In AGU Fall Meeting Abstracts, volume 2019, pages NS21A–16. ID AGU: NS21A-16.

Moscato, R. (2024). Web App Development Made Simple with Streamlit: A web developer’s guide to effortless web app development, deployment, and scalability. Packt Publishing Ltd.

Qian, Y.-K., Yuyang, H., Dapeng, W., Blanchard, A., and Jiaxi, L. (2025). miniufo/xgrads: v0.2.7.

Rautenhaus, M., Böttinger, M., Siemen, S., Hoffman, R., Kirby, R. M., Mirzargar, M., Röber, N., and Westermann, R. (2018). Visualization in meteorology—a survey of techniques and tools for data analysis tasks. IEEE Transactions on Visualization and Computer Graphics, 24(12):3268–3296. DOI: 10.1109/TVCG.2017.2779501.

Rew, R. and Davis, G. (1990). Netcdf: an interface for scientific data access. IEEE computer graphics and applications, 10(4):76–82. DOI: 10.1109/38.56302.

Shreemathi, M., Senthilkumar, B., Sujithra, S. M., Praisoodi, A., and Rithika, S. (2024). Mastering geospatial analysis with python: Understanding geopandas, gdal, fiona, matplotlib, data integration, and gis tools. In Ethics, Machine Learning, and Python in Geospatial Analysis, pages 120–149. IGI Global Scientific Publishing. DOI: 10.4018/979-8-3693-6381-2.ch006.

Sujithra, M. and Shanmugapriyaa, D. (2024). Spatial data visualization with python: Techniques, tools, and real. Geospatial Application Development Using Python Programming, page 123. DOI: 10.4018/979-8-3693-1754-9.ch005.

Suma, K., Sunitha, G., Avanija, J., Galety, M. G., and Varna, C. P. (2024). Geospatial data visualization with folium. In Geospatial Application Development Using Python Programming, pages 187–208. IGI Global Scientific Publishing. DOI: 10.4018/979-8-3693-1754-9.ch007.

Downloads

Published

2026-09-11

Como Citar

de Paula, L. A., Kenji Koga, I., & Sper de Almeida, E. (2026). Evaluation of Python Libraries for Visualization of Weather Fields. Revista Eletrônica De Iniciação Científica Em Computação, 24(1), 645–651. https://doi.org/10.5753/reic.2026.7493

Issue

Section

Artigos