Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Fesom26 rc1 scripts #133

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
switch out seawater for gsw. not tested for all scripts yet
JanStreffing committed Jul 24, 2024
commit c7a00af7063405c8da185bac4a4ee81f179c770c
13 changes: 3 additions & 10 deletions templates_notebooks/template_transect_transp_t.ipynb
Original file line number Diff line number Diff line change
@@ -2,22 +2,15 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/work/ab0246/a270092/software/tripyview/tripyview/sub_data.py:8: UserWarning: The seawater library is deprecated! Please use gsw instead.\n",
" import seawater as sw\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"/work/ab0246/a270092/software/tripyview\n"
"The autoreload extension is already loaded. To reload it, use:\n",
" %reload_ext autoreload\n"
]
}
],
10 changes: 1 addition & 9 deletions templates_notebooks/template_transp_hbstreamf.ipynb
Original file line number Diff line number Diff line change
@@ -5,19 +5,11 @@
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/albedo/home/pscholz/tripyview_freshtest/tripyview/sub_data.py:8: UserWarning: The seawater library is deprecated! Please use gsw instead.\n",
" import seawater as sw\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"/albedo/home/pscholz/tripyview_freshtest\n"
"/work/ab0246/a270092/software/tripyview\n"
]
}
],
2 changes: 1 addition & 1 deletion tripyview/sub_climatology.py
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
import time
import os
import xarray as xr
import seawater as sw
import gsw as sw
#import gsw as gsw
from .sub_data import *

3 changes: 1 addition & 2 deletions tripyview/sub_data.py
Original file line number Diff line number Diff line change
@@ -5,8 +5,7 @@
import warnings
import xarray as xr
import netCDF4 as nc
import seawater as sw
#import gsw as gsw
import gsw as sw
from .sub_mesh import *
import warnings