u_analysis

Universal data analysis tools for atmospheric sciences

https://github.com/ackermannluis/u_analysis

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.0%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Universal data analysis tools for atmospheric sciences

Basic Info
  • Host: GitHub
  • Owner: ackermannluis
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 28.7 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 2
  • Open Issues: 0
  • Releases: 1
Created over 4 years ago · Last pushed over 4 years ago
Metadata Files
Readme License Citation

README.md

U_analysis

Universal data analysis tools for atmospheric sciences

Script written in python 3. This file defines multiple functions that can be used for data analysis, with an emphasis in atmospheric sciences. To use, just place it in the same directory as your code is and import it as any other module (import UAnalysismain). For full functionality add the other files to the same directory).

Working in adding it to the python repository such that it can be imported using pip or conda...

This module has hundreds of functions (fairly well organized by theme) some specially useful functions are:

ncshowvariable_info (which shows all variables inside, their shape, and units, it can also give more info for specific variable)

p_plot(for general (1D arrays) time series or scatter plots, basically a general wrapper for matplotlib, can be used to plot over map if topographical files are present)

pplotarr(for general plotting of 2D arrays, where the horizontal and vertical arrays are also provided, basically a general wrapper for matplotlib, can be used to plot over map if topographical files are present)

pplotSkewTsonde(for creating nice skewT plots, needs the skewTmodule given below)

wrfvarsearch(give it the wrf filename (or nc object) and a keyword and it will print all variables with the keyword in either the name or the description)

createvirtualsondefromwrf(give it radiosonde data and a list of wrf output files and it will create a virtual sonde from wrf data that follows as closely as possible the real radiosonde (accounts for time passage and horizontal displacement)

calculatemountainheightfromera5(as the name implies)

calculatemountainheightfromWRF(as the name implies)

downloadHIM82000m(give it the time stamp and the channel number and it gives you the array)

gethimawari82000m_NCI(same as above but it is meant to run on gadi, and just gets the desired array from the data for some time and channel)

era5downloadsave(downloads era5 data from copernicus data store, just give it times you want and the variables you want and it will do the rest. it requires you to have an account and cdsapi installed)

hysplitloadfreq_endpoints(reads hysplit text files and converts to data arrays)

plothysplittraj(plots hysplit trajectories from data arrays)

download_MSLP(give it the time and it downloads the MSLP chart from the BoM)

mergemultiplenetCDFbytime_dimension(really useful, as the name implies)

netCDFcroptimewise(when you don't need the whole file, creates a copy with only the desired time range in it)

plotarrovermapnc(to create quick maps, like panoply, requires basemap)

Owner

  • Name: Luis Ackermann
  • Login: ackermannluis
  • Kind: user
  • Location: Melbourne, Australia
  • Company: Australian Bureau of Meteorology

Research Scientist in atmospheric physics and chemistry

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Ackermann
    given-names: Luis
    orcid: https://orcid.org/0000-0002-5311-2570
title: "Universal data analysis tools for atmospheric sciences"
version: 1.0.0
doi: 10.5281/zenodo.5547084
date-released: 2021-10-04

GitHub Events

Total
Last Year