Project

General

Profile

Revision 834:d989df597b80

IDd989df597b80
Parent 833:354ddca04053
Child 835:d623d705abd3

Added by Maarten Sneep about 2 years ago

Use the exclude parameter when ingesting existing files

View differences:

src/pycama/OutlinePlot.py
167 167
    #
168 168
    #  @param fname NetCDF file with input data.
169 169
    #  @param time_index Time slice to read.
170
    def ingest(self, fname, time_index):
170
    def ingest(self, fname, time_index, exclude=None):
171 171
        self.time_index_in_output = time_index
172 172
        with h5py.File(fname, 'r') as ref:
173 173
            try:

Also available in: Unified diff