-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNetCDFIO.pxd
More file actions
56 lines (47 loc) · 1.92 KB
/
NetCDFIO.pxd
File metadata and controls
56 lines (47 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
from Grid cimport Grid
# from ReferenceState cimport ReferenceState
from TimeStepping cimport TimeStepping
cimport PrognosticVariables
from PrognosticVariables cimport MeanVariables
from PrognosticVariables cimport SecondOrderMomenta
# cimport DiagnosticVariables
cdef class NetCDFIO_Stats:
cdef:
object root_grp
object profiles_grp
object ts_grp
str stats_file_name
str stats_path
str output_path
str path_plus_file
str uuid
public double last_output_time
public double frequency
public bint do_output
cpdef initialize(self, dict namelist, Grid Gr)
cpdef update(self, Grid Gr, TimeStepping TS, MeanVariables M1, SecondOrderMomenta M2)
cpdef setup_stats_file(self, Grid Gr)
cpdef add_profile(self, var_name, Grid Gr)
cpdef add_reference_profile(self, var_name, Grid Gr)
cpdef add_ts(self, var_name, Grid Gr)
cpdef open_files(self)
cpdef close_files(self)
cpdef write_profile(self, var_name, double[:] data)
cpdef write_reference_profile(self, var_name, double[:] data)
cpdef write_ts(self, var_name, double data)
cpdef write_simulation_time(self, double t)
cdef class NetCDFIO_CondStats:
cdef:
str stats_file_name
str stats_path
str output_path
str path_plus_file
str uuid
public double last_output_time
public double frequency
public bint do_output
# cpdef initialize(self, dict namelist, Grid.Grid Gr, ParallelMPI.ParallelMPI Pa)
# cpdef create_condstats_group(self, str groupname, str dimname, double[:] dimval, Grid.Grid Gr, ParallelMPI.ParallelMPI Pa)
# cpdef add_condstat(self, str varname, str groupname, str dimname, Grid.Grid Gr, ParallelMPI.ParallelMPI Pa)
# cpdef write_condstat(self, varname, groupname, double[:,:] data, ParallelMPI.ParallelMPI Pa)
# cpdef write_condstat_time(self, double t, ParallelMPI.ParallelMPI Pa)