Skip to content

Rethink getraster docstrings #75

@tiemvanderdeure

Description

@tiemvanderdeure

Two issues with the way the docstrings of this package are currently organised:

  1. Typing ?getraster current prints 17 separate docstrings for a total of 1696 words.
  2. Precompilation outputs a warning because the docstring first is defined in interface.jl and then overwritten all those other 16 times.

Probably organising it like this made sense at some point, but I think there must be better ways to do this.

A proposal would be to migrate all the dataset-specific docstrings to their types (WorldClim, ModisProduct etc.) and only keep a single general for getraster that explains the general pattern and then refer to types that have docstring with other examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions