Ejemplo n.º 1
0
 def test_prep_input_gridmet_cell_kwarg(self, data):
     prep_input(
         data['station_meta_path'], 
         out_path=data['prep_input_outpath_copy'],
         grid_meta_path=data['gridmet_cell_data_copy']
     )
     assert data['prep_input_outpath_copy'].is_file()
Ejemplo n.º 2
0
 def test_prep_input_missing_input_col(self, data):
     with pytest.raises(Exception) as e_info:
         prep_input(data['bad_station_meta_path'])
Ejemplo n.º 3
0
 def test_prep_input(self, data):
     prep_input(data['station_meta_path'],
                out_path=data['prep_input_outpath'])
     assert data['prep_input_outpath'].is_file()