Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set non-trivial sunlit flag in example data for better test coverage #36

Closed
wants to merge 4 commits into from

Commits on Sep 17, 2019

  1. Set half of columns to night in input data

    Set half of the columns in the example data to night values for better
    test coverage. This is accomplished by setting the sunlit flag to 0 for
    a selection of points, via:
    ```
    ncap2 -O -s 'sunlit(:617) = 0;' cosp_input_um.nc cosp_input_um.nc
    ```
    brhillman committed Sep 17, 2019
    Configuration menu
    Copy the full SHA
    1f31645 View commit details
    Browse the repository at this point in the history
  2. Change driver namelist to process all points

    Change `Npoints` in driver namelist to process all points in the example
    data. This is necessary to make sure that we process both sunlit and
    non-sunlit (night) columns, since the previous commit set half of the
    columns to night and half to day. This also makes the example data look
    more like a single orbit from a polar orbiter, with half of the points
    being night and half being day.
    brhillman committed Sep 17, 2019
    Configuration menu
    Copy the full SHA
    a851e84 View commit details
    Browse the repository at this point in the history
  3. Set second half of columns to night instead of first

    Revert previous commit to set the first half of columns to night and
    instead set the second half to night. This allows these changes to be
    bit-for-bit if `Npoints = 153` in the namelist (the previous default).
    brhillman committed Sep 17, 2019
    Configuration menu
    Copy the full SHA
    957bc21 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0eda697 View commit details
    Browse the repository at this point in the history