Skip to content

MOCpy #238

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

Open
17 of 32 tasks
ManonMarchand opened this issue Apr 17, 2025 · 0 comments
Open
17 of 32 tasks

MOCpy #238

ManonMarchand opened this issue Apr 17, 2025 · 0 comments

Comments

@ManonMarchand
Copy link

ManonMarchand commented Apr 17, 2025

Submitting Author: (@ManonMarchand)
All current maintainers: (@fxpineau, @tboch, @bmatthieu3, @ManonMarchand)
Package Name: MOCPy
One-Line Description of Package: MOCPy allows to read/write, and create Multi-Order Coverage Maps
Repository Link: https://github.com/cds-astro/mocpy
Version submitted: 0.17.1
EiC: @coatless
Editor: TBD
Reviewer 1: TBD
Reviewer 2: TBD
Archive: TBD
JOSS DOI: TBD
Version accepted: TBD
Date accepted (month/day/year): TBD


Code of Conduct & Commitment to Maintain Package

Description

MOCPy is a python package that allows the manipulation of Time-Space Multi-Order Coverage maps. These maps are defined by an International Virtual Observatory standard (https://ivoa.net/documents/MOC/20220727/index.html).

Concretely, time and space (on the sky sphere) are described by cells of different coarseness, and a MOC is an ensemble of these cells.

Here are three MOCs (plotted with MOCPy) describing regions of the sky :

Image

This format is particularly useful to perform operations (union, difference, ...) on time and space regions.

Here is the union of the previous MOCs:

Image

Typical uses of the library are:

  • estimation of telescopes field of view (uses space information)
  • knowing if a satellite has observed a short-lived event in the sky (uses time and space information)

Scope

  • Please indicate which category or categories.
    Check out our package scope page to learn more about our
    scope. (If you are unsure of which category you fit, we suggest you make a pre-submission inquiry):

    • Data retrieval
    • Data extraction
    • Data processing/munging
    • Data deposition
    • Data validation and testing
    • Data visualization1
    • Workflow automation
    • Citation management and bibliometrics
    • Scientific software wrappers
    • Database interoperability

Domain Specific

  • Geospatial
  • Education

Community Partnerships

If your package is associated with an
existing community please check below:

We were an astropy-affiliated package with the former system (pre-2024).

  • For all submissions, explain how and why the package falls under the categories you indicated above. In your explanation, please address the following points (briefly, 1-2 sentences for each):

    • Who is the target audience and what are scientific applications of this package?

The audience is astronomers. From a quick scanning of the libraries that use MOCPy on github, we identify three major poles:

  1. time-dependent astronomy fields (gravitational waves, transients, multi-messenger...).
  2. big astronomical databases. They either cross-match astronomical catalogs between each other, or they are building and interrogating databases indexed with the HEALPix tesselation (the one used for MOC space cells).
  3. telescope crew that use MOCPy to calculate field of view and plan observations
  • Are there other Python packages that accomplish the same thing? If so, how does yours differ?

There is pymoc (https://github.com/grahambell/pymoc), a pure python implementation. It works, but the API is more minimal (no creation of MOCs from shapes, no check to see if a sky-coordinate falls within a MOC, only Space-MOCs no Time-MOCs, no plotting utilities, no multi-threading, ...)

Technical checks

For details about the pyOpenSci packaging requirements, see our packaging guide. Confirm each of the following by checking the box. This package:

  • does not violate the Terms of Service of any service it interacts with.
  • uses an OSI approved license.
  • contains a README with instructions for installing the development version.
  • includes documentation with examples for all functions.
  • contains a tutorial with examples of its essential functions and uses.
  • has a test suite.
  • has continuous integration setup, such as GitHub Actions CircleCI, and/or others.

Publication Options

JOSS Checks
  • The package has an obvious research application according to JOSS's definition in their submission requirements. Be aware that completing the pyOpenSci review process does not guarantee acceptance to JOSS. Be sure to read their submission requirements (linked above) if you are interested in submitting to JOSS.
  • The package is not a "minor utility" as defined by JOSS's submission requirements: "Minor ‘utility’ packages, including ‘thin’ API clients, are not acceptable." pyOpenSci welcomes these packages under "Data Retrieval", but JOSS has slightly different criteria.
  • The package contains a paper.md matching JOSS's requirements with a high-level description in the package root or in inst/.
  • The package is deposited in a long-term repository with the DOI:

Note: JOSS accepts our review as theirs. You will NOT need to go through another full review. JOSS will only review your paper.md file. Be sure to link to this pyOpenSci issue when a JOSS issue is opened for your package. Also be sure to tell the JOSS editor that this is a pyOpenSci reviewed package once you reach this step.

Are you OK with Reviewers Submitting Issues and/or pull requests to your Repo Directly?

This option will allow reviewers to open smaller issues that can then be linked to PR's rather than submitting a more dense text based review. It will also allow you to demonstrate addressing the issue via PR links.

  • Yes I am OK with reviewers submitting requested changes as issues to my repo. Reviewers will then link to the issues in their submitted review.

Confirm each of the following by checking the box.

  • I have read the author guide.
  • I expect to maintain this package for at least 2 years and can help find a replacement for the maintainer (team) if needed.

Please fill out our survey

P.S. Have feedback/comments about our review process? Leave a comment here

Editor and Review Templates

The editor template can be found here.

The review template can be found here.

Footnotes

  1. Please fill out a pre-submission inquiry before submitting a data visualization package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: pre-review-checks
Development

No branches or pull requests

1 participant