def setUp(self):
self.ds = MockNetCDF()<EOL>self.ds.createDimension('<STR_LIT:time>', None)<EOL>tvar = self.ds.createVariable('<STR_LIT:time>', '<STR_LIT>', ('<STR_LIT:time>',))<EOL>tvar.axis = '<STR_LIT:T>'<EOL>tvar.standard_name = '<STR_LIT:time>'<EOL>tvar.units = '<STR_LIT>'<EOL>tvar.calendar = '<STR_LIT>'<EOL>tvar[:] = np.array([<NUM_LIT:1>,<NUM_LIT:2>], dtype='<STR_LIT>')<EOL>pres = self.ds.createVariable('<STR_LIT>', '<STR_LIT>', ('<STR_LIT:time>',))<EOL>pres.standard_name = '<STR_LIT>'<EOL>pres.units = '<STR_LIT>'<EOL>pres[:] = np.array([<NUM_LIT>, <NUM_LIT>], dtype=np.float64)<EOL>self.base_check = ncei_base.BaseNCEICheck()<EOL>
Create a simple timeseries like NetCDF object.