in reply to Re^4: CPAN distribution naming recommendations
in thread CPAN distribution naming recommendations

Just one more thought. The namespace Geo::Compass:: highlights the module's practical application, while Geo::Magnetic:: leans toward its theoretical nature (modeling the geomagnetic field). Either one seems fine to me. I leave the choice in your hands.
  • Comment on Re^5: CPAN distribution naming recommendations

Replies are listed 'Best First'.
Re^6: CPAN distribution naming recommendations
by stevieb (Canon) on Jun 05, 2017 at 16:00 UTC

    I have released Geo::Compass::Variation. If it isn't available yet, it will be shortly. Thanks to everyone who provided their input and thoughts into the naming, and the reasons/details surrounding the suggestions.

    I made the following changes:

    • added an alias of mag_var() to mag_dec()
    • renamed _calculate() to mag_field()
    • mag_field() now returns the $X, $Y, $Z information instead of the calculated information
    • mag_dec() and mag_inc() now perform their own calculations on the data returned by mag_field()

    I have not yet incorporated the test data into the test suite, but that'll come soon enough.

      Hi Steve, ++ on the release. One suggestion: make note in the doc of the fact that the module will be updated with the current WMM data from NOAA (NGA) to account for changes in varition over time, and when to expect the updates.

      The way forward always starts with a minimal test.

        Thanks Nick.

        I will open an issue to include that notice in the DESC section.

Re^6: CPAN distribution naming recommendations
by no_slogan (Deacon) on Jun 04, 2017 at 17:58 UTC
    Oops, forgot to log in there.
      Oops, I forgot to log in there.