Skip to content

Instantly share code, notes, and snippets.

View MiCurry's full-sized avatar

Miles Curry MiCurry

View GitHub Profile
@MiCurry
MiCurry / 3001.txt
Last active January 11, 2022 18:17
all work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and n
import sys
import argparse
from netCDF4 import Dataset
description = ("Trasnlate the 'ter' variable of an MPAS static file to be in surface geopotential,"\
" and rename the variable to be PHIS.")
gravity = 9.80616
#!/usr/bin/env bash
#PBS -N deposition_run
#PBS -A NMMM0013
#PBS -l walltime=00:40:00
#PBS -q regular
#PBS -j oe
#PBS -l select=1:ncpus=36:mpiprocs=36
if [ $# -ne 3 ]; then
echo "Usage: create_deposition.sh grid_alias ESMF/SCRIP-gridFile date" 1>&2
@MiCurry
MiCurry / mkmapdata.path
Created November 11, 2021 17:45
mkmapdata.patch
diff --git a/tools/mkmapdata/mkmapdata.sh b/tools/mkmapdata/mkmapdata.sh
index 531ca5a6..8f8bedcd 100755
--- a/tools/mkmapdata/mkmapdata.sh
+++ b/tools/mkmapdata/mkmapdata.sh
@@ -44,7 +44,7 @@ case $hostname in
##cheyenne
cheyenne* | r* )
if [ -z "$CSMDATA" ]; then
- CSMDATA=/glade/p/cesm/cseg/inputdata
+ CSMDATA=/glade/p/cesmdata/inputdata
@MiCurry
MiCurry / gist:4a85846617d68b0b342c4505feee34ab
Created October 14, 2021 22:19
cesm.log.969380.chadmin1.ib0.cheyenne.ucar.edu.211011-084752
This file has been truncated, but you can view the full file.
-1:omplace information:
-1: MPI type is HPE MPI, 1 thread, thread model is open64
-1: placement file /tmp/omplace.file.skamaroc.24390:
-1: fork skip=0 exact cpu=0-71:1
-1:omplace information:
-1: MPI type is HPE MPI, 1 thread, thread model is open64
-1: placement file /tmp/omplace.file.skamaroc.42034:
-1: fork skip=0 exact cpu=0-71:1
-1:omplace information:
-1: MPI type is HPE MPI, 1 thread, thread model is open64
@MiCurry
MiCurry / bookmarks-2021-08-15.html
Created August 15, 2021 18:40
Bookmarks 2021-08-15
This file has been truncated, but you can view the full file.
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks Menu</H1>
<DL><p>
<HR> <DT><A HREF="place:type=6&sort=14&maxResults=10" ADD_DATE="1539104004" LAST_MODIFIED="1539104004">Recent Tags</A>
&nhyd_model
config_init_case = 13
config_start_time = '0000-01-01_00:00:00'
config_theta_adv_order = 3
config_coef_3rd_order = 0.25
/
&dimensions
config_nvertlevels = 32
config_nsoillevels = 1
config_nfglevels = 1
@MiCurry
MiCurry / L58.txt
Created July 19, 2021 21:01
58-Level Layer Interface Heights for CAM-MPAS
0.0
34.69769454023612
89.05219028809535
148.38681064777424
213.20627781224513
284.0759662419604
361.63110884890324
446.5878008493567
539.7562424898239
642.0567938854315
@MiCurry
MiCurry / L32.txt
Created July 19, 2021 20:59
32-Level Layer Interface Heights
0.0
249.011837562501
703.531419818076
1292.10981710262
1989.09940291778
2779.67781449656
3653.84453807477
4604.25829188187
5625.23125557809
6712.18749270867
@MiCurry
MiCurry / atmosphere.warnings.gnu
Created June 25, 2021 17:18
atmosphere.warnings.gnu
make[5]: warning: -jN forced in submake: disabling jobserver mode.
ESMF_BaseMod.F90:178:52:
178 | ESMF_TF_FALSE = ESMF_Logical(3)
| 1
Warning: Unused PRIVATE module variable ‘esmf_tf_false’ declared at (1) [-Wunused-value]
ESMF_BaseMod.F90:177:51:
177 | ESMF_TF_TRUE = ESMF_Logical(2), &
| 1