def setUp(self): self.ds = create_test_dataset_1() vardata_repr = VardataAsFlatTextFiles() attr_repr = AttributesAsTextFiles() dimnames_repr = DimNamesAsTextFiles() self.ncfs = NCFS(self.ds, vardata_repr, attr_repr, dimnames_repr) self.testvar = self.ncfs.get_variable('/y/DATA_REPR')
def setUp(self): dataset = FakeDataset() self.ncfs = NCFS(dataset, None, None)
def setUp(self): self.ncfs = NCFS(None, None, None)
def setUp(self): self.ds = create_test_dataset_1() self.ncfs = NCFS(self.ds, None, None)
def setUp(self): self.ncfs = NCFS(FakeDataset(), None, None, None)
def setUp(self): self.ds = create_test_dataset_1() dimnames_repr = DimNamesAsTextFiles() self.ncfs = NCFS(self.ds, None, None, dimnames_repr)