Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • kadlu kadlu
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • public_projects
  • kadlukadlu
  • Merge requests
  • !47

Merged
Created May 26, 2020 by Matthew@matt_s☕Maintainer

improve kadlu configuration interface

  • Overview 12
  • Commits 10
  • Changes 10

this merge replaces the old method of configuration:

from kadlu import data_util
data_util().era5_cfg(key="TOKEN_HERE", url="URL_HERE")

with a new version that removes the data_util() class altogether:

kadlu.era5_cfg(key="TOKEN_HERE", url="URL_HERE")

I think the syntax for data_util().era5_cfg() wasn't very intuitive, its not always clear that brackets need to be included after data_util(). So this minor version update replaces the need for that entirely, hopefully being more intuitive to use for users. I've updated the version in setup.py to 2.1.0 accordingly

Edited May 28, 2020 by Matthew
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: improve_era5_cfg