Skip to content

v1.1.0 Fix bug in processing input with even number of grid points

Compare
Choose a tag to compare
@csyhuang csyhuang released this 08 Dec 04:37
· 44 commits to master since this release

Release: falwa v1.1.0

Bug being fixed

This release fix the bug occuring in QGField/QGDataset when processing latitude grid with even number of grid points - the dimension of latitude grid is recorded inconsistently, leading the code to crash. With this fix, computed variables are returned with original dimension (or original dimension / 2 if northern_hemisphere_results_only=False).

Additional unit tests

There are two additional unit tests demostrating the fix:

  • tests/test_output_results.py::test_offgrid_data_input
  • tests/test_output_results.py::test_offgrid_data_input_xarrayinterface

Corresponding changes

See code comparison: v1.0.0...v1.1.0