Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

CLIMATE-654 - Clean up duplicate unit conversion code #219

Merged
merged 1 commit into from
Aug 15, 2015

Conversation

MJJoyce
Copy link
Member

@MJJoyce MJJoyce commented Aug 3, 2015

  • Cleanup duplicate unit conversion code in dataset_processor that was
    introduced in CLIMATE-643. water_flux_unit_conversion is no longer
    duplicated unnecessarily in variable_unit_conversion.
  • Factor out temperature_unit_conversion code from
    variable_unit_conversion. Formatting and isolation now matches that of
    water_flux_unit_conversion. These are both called from the
    variable_unit_conversion function so there's a convenient wrapper for
    this functionality (as was the functionality prior to this refactor).

- Cleanup duplicate unit conversion code in dataset_processor that was
  introduced in CLIMATE-643. water_flux_unit_conversion is no longer
  duplicated unnecessarily in variable_unit_conversion.
- Factor out temperature_unit_conversion code from
  variable_unit_conversion. Formatting and isolation now matches that of
  water_flux_unit_conversion. These are both called from the
  variable_unit_conversion function so there's a convenient wrapper for
  this functionality (as was the functionality prior to this refactor).
@OCWJenkins
Copy link

Merged build triggered. Test Failed.

@OCWJenkins
Copy link

Merged build started. Test Failed.

@OCWJenkins
Copy link

Merged build finished. Test Passed.

@huikyole
Copy link
Contributor

huikyole commented Aug 3, 2015

Way to go!

@asfgit asfgit merged commit 6fd064a into apache:master Aug 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants