FV3 Bundle
|
Functions | |
def | float2string (val, sformat, addcomma) |
def | write_variable_real (var_name, dims, v) |
def | write_variable_int (var_name, dims, v) |
Variables | |
rootgrp = Dataset('gsw_data_v3_0.nc', 'r') | |
v = rootgrp.variables | |
d = rootgrp.dimensions | |
nx = len(d['nx']) | |
ny = len(d['ny']) | |
nz = len(d['nz']) | |
version_date = rootgrp.version_date | |
version_number = rootgrp.version_number | |
list | vars_real |
list | vars_int = [["ndepth_ref", "", [nx,ny]]] |
fd = os.open("gsw_mod_saar_data.f90", os.O_CREAT|os.O_EXCL|os.O_RDWR, 0644) | |
out = os.fdopen(fd, "w") | |
var_name = var_label | |
def make_saar_data.float2string | ( | val, | |
sformat, | |||
addcomma | |||
) |
def make_saar_data.write_variable_int | ( | var_name, | |
dims, | |||
v | |||
) |
Definition at line 97 of file make_saar_data.py.
def make_saar_data.write_variable_real | ( | var_name, | |
dims, | |||
v | |||
) |
make_saar_data.d = rootgrp.dimensions |
Definition at line 172 of file make_saar_data.py.
make_saar_data.fd = os.open("gsw_mod_saar_data.f90", os.O_CREAT|os.O_EXCL|os.O_RDWR, 0644) |
Definition at line 188 of file make_saar_data.py.
make_saar_data.nx = len(d['nx']) |
Definition at line 174 of file make_saar_data.py.
make_saar_data.ny = len(d['ny']) |
Definition at line 175 of file make_saar_data.py.
make_saar_data.nz = len(d['nz']) |
Definition at line 176 of file make_saar_data.py.
make_saar_data.out = os.fdopen(fd, "w") |
Definition at line 193 of file make_saar_data.py.
make_saar_data.rootgrp = Dataset('gsw_data_v3_0.nc', 'r') |
Definition at line 170 of file make_saar_data.py.
make_saar_data.v = rootgrp.variables |
Definition at line 171 of file make_saar_data.py.
make_saar_data.var_name = var_label |
Definition at line 223 of file make_saar_data.py.
list make_saar_data.vars_int = [["ndepth_ref", "", [nx,ny]]] |
Definition at line 185 of file make_saar_data.py.
list make_saar_data.vars_real |
Definition at line 181 of file make_saar_data.py.
make_saar_data.version_date = rootgrp.version_date |
Definition at line 178 of file make_saar_data.py.
make_saar_data.version_number = rootgrp.version_number |
Definition at line 179 of file make_saar_data.py.