MetOffice / CATNIP

Climate Analysis Tool: Now In Python
Other
5 stars 2 forks source link

ADD: Unittest #103

Closed zmaalick closed 4 years ago

zmaalick commented 4 years ago

perhaps we could also add some boundary value tests using the min()/max() for lat/lon points values e.g. _cube.coord('grid_latitude').points.max() cube.coord('gridlatitude').points.min()

and also negative tests beyond these boundaries

made the desired changes

balazagi commented 4 years ago

perhaps we could also add some boundary value tests using the min()/max() for lat/lon points values e.g. _cube.coord('grid_latitude').points.max() cube.coord('gridlatitude').points.min() and also negative tests beyond these boundaries

made the desired changes

thanks looks good but for some reason is not giving me the option for approval!