Skip to content

Instantly share code, notes, and snippets.

View jamesp's full-sized avatar

James Penn jamesp

  • Met Office
  • Devon, UK
View GitHub Profile
{
"name": "Unknown Name",
"setter": "yaffle",
"N": 13,
"cells": [
"_______#_____",
"_#_#_#_#_#_#_",
"_____#_______",
"_#_#_#_###_#_",
"___#_________",
{
"N": 13,
"cells": [
"#___________#",
"#_#_#_#_#_#_#",
"____#________",
"#_###_#_#_#_#",
"________#____",
"#_#_###_#_###",
"______#______",
{
"N": 13,
"cells": [
"_______#_____",
"_#_#_#_#_#_#_",
"_____________",
"####_#_#_#_#_",
"_______#_____",
"_#_###_###_#_",
"____#___#____",
{
"N": 13,
"cells": [
"_____________",
"_#_#_#_#_#_#_",
"_____________",
"_#_#_#_#_#_#_",
"_____________",
"_#_#_#_#_#_#_",
"_____________",
import os
import numpy as np
from isca import IscaCodeBase, DiagTable, Experiment, Namelist, GFDL_BASE, FailedRunError
from isca.util import exp_progress
NCORES = 16
#cb = IscaCodeBase.from_directory(GFDL_BASE)
cb = IscaCodeBase.from_repo('https://github.com/jamesp/isca', 'jpbucket')
{
"N": 13,
"cells": [
"**HELLOTHERE*",
" *E* * * * **",
" A * ",
" *V* * *** * ",
" Y * ",
" *** *** * * ",
" * ",
@jamesp
jamesp / held_suarez.py
Last active October 16, 2018 16:34
An example script to run the Held Suarez test case in the Isca framework.
import numpy as np
from isca import IscaCodeBase, Experiment, DiagTable, Namelist, FailedRunError, GFDL_BASE
from isca.util import run_cli
expname = 'held_suarez_basic'
cb = IscaCodeBase.from_directory(GFDL_BASE)
NDAYS = 30
RESOLUTION = 'T42', 25
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.