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

If area units on source grid file are in sq deg, convert to sq radians #2022

Merged
merged 2 commits into from
Nov 3, 2017

Commits on Nov 2, 2017

  1. If area units on source grid file are in sq deg, convert to sq radians

    This just applies to source grid files in the scrip format.
    
    Without this fix, areas were assumed to be in sq radians, which led to
    mapping weights that were off by about a factor of 3000 if areas were
    actually in sq degrees.
    billsacks committed Nov 2, 2017
    Configuration menu
    Copy the full SHA
    616f437 View commit details
    Browse the repository at this point in the history
  2. Abort if no units are found for grid_area

    Also give a more helpful message if grid_area has unrecognized units
    billsacks committed Nov 2, 2017
    Configuration menu
    Copy the full SHA
    2a8a76d View commit details
    Browse the repository at this point in the history