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
#!/usr/bin/env bash | |
ffmpeg -framerate 7 -i example_wave.%04d.png -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p example_wave.mp4 |
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
#!/usr/bin/env python | |
""" | |
Routines to remap particles onto a new grid decomposition. | |
Phillip Wolfram | |
LANL | |
08/19/2014 | |
""" | |
import netCDF4 | |
from scipy import spatial |
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
#!/usr/bin/env python | |
# gist: https://gist.github.com/c8dc9cb15e1aa9180a1a576f1609ee62 | |
import netCDF4 | |
import numpy as np | |
verticaltreatments = {'indexLevel':1, 'fixedZLevel': 2, 'passiveFloat': 3, 'buoyancySurface': 4, 'argoFloat': 5} | |
defaults = {'dt': 300, 'resettime': 1.0*24.0*60.0*60.0} | |
def use_defaults(name, val): | |
if (val is not None) or (val is not np.nan): |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
[runs] | |
## options related to the run to be analyzed and reference runs to be | |
## compared against | |
# mainRunName is a name that identifies the simulation being analyzed. | |
mainRunName = A_BGCEXP_BCRC_CNPECACNT_1850_ne30_oEC60to30v3_anvil02 | |
# preprocessedReferenceRunName is the name of a reference run that has been | |
# preprocessed to compare against (or None to turn off comparison). Reference | |
# runs of this type would have preprocessed results because they were not | |
# performed with MPAS components (so they cannot be easily ingested by |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.