Joss-reviews: [REVIEW]: dustmaps: A Python interface for maps of interstellar dust

Created on 23 Apr 2018  ยท  34Comments  ยท  Source: openjournals/joss-reviews

Submitting author: @gregreen (Gregory Green)
Repository: https://github.com/gregreen/dustmaps
Version: v1.0
Editor: @arfon
Reviewer: @jegpeek
Archive: 10.5281/zenodo.1299368

Status

status

Status badge code:

HTML: <a href="http://joss.theoj.org/papers/40e2dafaa31accc83de303718ba9ac1d"><img src="http://joss.theoj.org/papers/40e2dafaa31accc83de303718ba9ac1d/status.svg"></a>
Markdown: [![status](http://joss.theoj.org/papers/40e2dafaa31accc83de303718ba9ac1d/status.svg)](http://joss.theoj.org/papers/40e2dafaa31accc83de303718ba9ac1d)

Reviewers and authors:

Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)

Reviewer instructions & questions

@jegpeek, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:

  1. Make sure you're logged in to your GitHub account
  2. Be sure to accept the invite at this URL: https://github.com/openjournals/joss-reviews/invitations

The reviewer guidelines are available here: https://joss.theoj.org/about#reviewer_guidelines. Any questions/concerns please let @arfon know.

Review checklist for @jegpeek

Conflict of interest

Code of Conduct

General checks

  • [x] License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • [x] Repository: Is the source code for this software available at the repository url?
  • [x] Version: Does the release version given match the GitHub release (v1.0)?
  • [x] Authorship: Has the submitting author (@gregreen) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?

Functionality

  • [x] Installation: Does installation proceed as outlined in the documentation?
  • [x] Functionality: Have the functional claims of the software been confirmed?
  • [x] Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • [x] A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • [x] Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • [x] Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • [x] Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • [x] Automated tests: Are there automated tests or manual steps described so that the function of the software can be verified?
  • [x] Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • [x] Authors: Does the paper.md file include a list of authors with their affiliations?
  • [x] A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • [x] References: Do all archival references that should have a DOI list one (e.g., papers, datasets, software)?
accepted published recommend-accept review

All 34 comments

Hello human, I'm @whedon. I'm here to help you with some common editorial tasks. @jegpeek it looks like you're currently assigned as the reviewer for this paper :tada:.

:star: Important :star:

If you haven't already, you should seriously consider unsubscribing from GitHub notifications for this (https://github.com/openjournals/joss-reviews) repository. As a reviewer, you're probably currently watching this repository which means for GitHub's default behaviour you will receive notifications (emails) for all reviews ๐Ÿ˜ฟ

To fix this do the following two things:

  1. Set yourself as 'Not watching' https://github.com/openjournals/joss-reviews:

watching

  1. You may also like to change your default settings for this watching repositories in your GitHub profile here: https://github.com/settings/notifications

notifications

For a list of things I can do to help you, just type:

@whedon commands
Attempting PDF compilation. Reticulating splines etc...

@jegpeek - please carry out your review in this issue by updating the checklist above and giving feedback in this issue. The reviewer guidelines are available here: http://joss.theoj.org/about#reviewer_guidelines

Any questions/concerns please let me know.

@arfon Is there an equivalent to \citet{} in mardown? Some of the citations should not be in parentheses.

@whedon generate pdf

Attempting PDF compilation. Reticulating splines etc...

@arfon Yes, that covered it. Thanks!

๐Ÿ‘‹@jegpeek - friendly reminder to take a look at this review when you get a chance.

@jegpeek Any progress on the review?

Yep โ€” been traveling with crappy wifi so hard to kick all the tires. Will do!

I know this is classic referee garbage but... what do you think of adding Peek & Graves 2010?

I would be happy to do so. I can't access http://peekandgraves2010.com/ though. Is there a newer link to the data? Better yet, is the data stored in some semi-permanent archive (like the Harvard Dataverse)? I write a fetch() function for each dust map, so having a stable URL is best.

Thanks for the nudge! https://doi.org/10.7910/DVN/VBSI4A

I've added an issue, which I'll work on, but don't let that get in the way of looking over the code as it already is!

@jegpeek Have you had time to test the functionality of the package, or to look at the documentation?

@gregreen making progress! Right now I am having this issue: I was following along in the directions here:

import dustmaps.planck
dustmaps.planck.fetch()

and then got

Downloading http://pla.esac.esa.int/pla/aio/product-action?MAP.MAP_ID=HFI_CompMap_ThermalDustModel_2048_R1.20.fits ...
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-10-3c6fb0816ca2> in <module>()
      1 import dustmaps.planck
----> 2 dustmaps.planck.fetch()

/Users/jegpeek/anaconda3/lib/python3.5/site-packages/dustmaps/planck.py in fetch()
    130         'planck',
    131         'HFI_CompMap_ThermalDustModel_2048_R1.20.fits')
--> 132     fetch_utils.download_and_verify(url, md5, fname=fname)
    133 
    134 

/Users/jegpeek/anaconda3/lib/python3.5/site-packages/dustmaps/fetch_utils.py in download_and_verify(url, md5sum, fname, chunk_size, clobber, verbose)
    234 
    235             with open(fname, 'wb') as f:
--> 236                 content_length = int(r.headers['content-length'])
    237                 bar = FileTransferProgressBar(content_length)
    238 

/Users/jegpeek/anaconda3/lib/python3.5/site-packages/requests/structures.py in __getitem__(self, key)
     52 
     53     def __getitem__(self, key):
---> 54         return self._store[key.lower()][1]
     55 
     56     def __delitem__(self, key):

KeyError: 'content-length'

any ideas?

@jegpeek It looks like the website isn't returning "content-length" in the headers. I'll fix the case where "content-length" is missing.


also

@jegpeek Can you verify that latest commit in the develop branch (gregreen/dustmaps@4c48e989c893a76f8107bf28d3e2620fd704b6ae) fixes the "content-length" issue?

Yup, works!

@gregreen (sorry, just found the ebv comments) are there automated tests?

@jegpeek There are tests here. You can go to the dustmaps/ directory in the repository and run

nosetests -v

Be careful though - some of the tests use a lot of memory! If you want to reduce the memory usage of the Bayestar map test, you can change this line to max_samples = 1.

Here are some things you can ask me to do:

# List all of Whedon's capabilities
@whedon commands

# Assign a GitHub user as the sole reviewer of this submission
@whedon assign @username as reviewer

# Add a GitHub user to the reviewers of this submission
@whedon add @username as reviewer

# Remove a GitHub user from the reviewers of this submission
@whedon remove @username as reviewer

# List of editor GitHub usernames
@whedon list editors

# List of reviewers together with programming language preferences and domain expertise
@whedon list reviewers

# Change editorial assignment
@whedon assign @username as editor

# Set the software archive DOI at the top of the issue e.g.
@whedon set 10.0000/zenodo.00000 as archive

# Open the review issue
@whedon start review

๐Ÿšง ๐Ÿšง ๐Ÿšง Experimental Whedon features ๐Ÿšง ๐Ÿšง ๐Ÿšง

# Compile the paper
@whedon generate pdf

OK @arfon I checked off all the things. Awesome piece of work @gregreen. Sorry it took so long.

@jegpeek No problem. Thanks for looking through my code/docs/paper!

OK @arfon I checked off all the things. Awesome piece of work @gregreen. Sorry it took so long.

๐Ÿค˜

@gregreen - At this point could you make an archive of the reviewed software in Zenodo/figshare/other service and update this thread with the DOI of the archive? I can then move forward with accepting the submission.

@arfon The DOI is now: 10.5281/zenodo.1299368.

@whedon set 10.5281/zenodo.1299368 as archive

OK. 10.5281/zenodo.1299368 is the archive.

@jegpeek - many thanks for your review here โœจ

@gregreen - your paper is now accepted into JOSS and your DOI is https://doi.org/10.21105/joss.00695 :zap: :rocket: :boom:

:tada::tada::tada: Congratulations on your paper acceptance! :tada::tada::tada:

If you would like to include a link to your paper from your README use the following code snippet:

[![DOI](http://joss.theoj.org/papers/10.21105/joss.00695/status.svg)](https://doi.org/10.21105/joss.00695)

This is how it will look in your documentation:

DOI

We need your help!

Journal of Open Source Software is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following:

Was this page helpful?
0 / 5 - 0 ratings