Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__version__ = '0.2.0' | |
__doc__ = """EMG Satellite-derived Emissions | |
=============================== | |
EMG Satellite-derived Emissions (emgsatemis) is designed to estimate emissions | |
from satellite data following many previous studies based on Bierle et al. | |
Functions: | |
- to_polar(x, y, degrees=False) | |
- to_cartesian(r, alpha, theta=0, degrees=False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__version__ = '0.1.0' | |
__doc__ = """ | |
Demonstrating how to work with EMBER files from doi:10.5281/zenodo.13737754 | |
Requires requests, xarray, pandas, netcdf4, pyproj, pycno, and pyrsig | |
For example, install with pip: | |
python -m pip install -qq xarray pandas netcdf4 pyproj pycno pyrsig | |
Functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script> | |
class Axes { | |
constructor(axname, xmin, xmax, ymin, ymax, wm=0.1, hm=0.1) { | |
this.axname = axname | |
var canvas = document.getElementById(this.axname); | |
var ctx = canvas.getContext("2d"); | |
this.ctx = ctx; | |
this.w = canvas.width; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__version__ = '0.1.0' | |
__doc__ = """ | |
Contents | |
======== | |
df2ds : function | |
convert pandas.DataFrame with properties to xarray.Dataset | |
ds2df : function | |
convert xarray.Dataset to pandas.DataFrame with properties | |
read_csv : function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__version__ = '0.3.1' | |
__doc__ = """ | |
CMAQ AMF calculator | |
=================== | |
--- | |
author: Barron H. Henderson | |
last updated: 2024-12-03 | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def pmnowcast(x, mdl=0): | |
""" | |
Arguments | |
--------- | |
x : array-like | |
Should be 12-hours of particulate matter | |
Returns | |
------- | |
nc : array-like |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import glob | |
import cmaqsatproc as csp | |
import matplotlib.pyplot as plt | |
import matplotlib.colors as mc | |
import matplotlib.animation as animation | |
import numpy as np | |
# Get a list of paths | |
pat = '/work/ROMO/2021_MP/cmaq54mp/2021hb_MP_cb6r5ae7_21k/12US1/output/CCTM_CGRID_2021hb_MP_cb6r5ae7_21k.12US1_35_2021010?.nc' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__doc__ = """ | |
# Make CMAQ WRF-Like | |
author: Barron H. Henderson | |
date: 2020-07-30 | |
updated: 2024-06-04 | |
# Overview | |
* Need: Many tools exist for WRFChem that we would like to use with CMAQ. |
NewerOlder