Giter VIP home page Giter VIP logo

climateforcing's People

Contributors

chrisroadmap avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

climateforcing's Issues

twolayermodel

  • update docstrings to be fully PEP-compliant
  • SECPERYEAR needs updating to mean tropical year length (365.24219 days): two repositories use 365 days so this will need to be in a later release (better still, make days_per_year an input with a default)
  • Refactoring: pylint has graffitied all over it
  • increase coverage

Harmonise docstrings

  • pick a style for docstrings
  • apply across existing functions
  • add to contributing guide
  • add to CI/CD? (pydocstyle maybe)

Equalise humidity calculations

Currently have two different humidity calculations, one in the UTCI function and one in atmos.humidity, and they are not the same. Changing one of them will fail tests - down to me to understand the most appropriate calculation to use.

Repository setup

  • linting
  • docs
  • contributing guide
  • CI
  • setup.py
  • pypi release
  • changelog
  • versioneer
  • deploy tests

CMIP6 data to input as dictionaries of variables

Currently, some take dicts of CMIP6 diagnostics (APRP) and some take parameters (mean radiant temperatures). Should move to dicts for all to keep number of function arguments down and overall module consistency

Further repository setup

  • issue request template
  • pull request template
  • conda-forge
    • sort out conda versioning issue (stray "v" prepended; currently you have to conda install climateforcing==v0.2.1 rather than conda install climateforcing==0.2.1)
  • continous integration for deployment
    • codecov upload
    • pypi
    • conda

Further humidity modifications

  1. the e_s relationship is out of Broede, and I don't have a literature reference for it; convert to something that is in the literature (e.g. Alduchov & Eskridge 1996)
  2. utci calculation currently has no dependence on surface air pressure and it probably should through its input into saturation specific humidity

Additional solar geometry

The current climateforcing.solar module calculates instantaneous and time-mean solar zenith angle, but of course we can be more generally useful:

  • allow for array input for time in cos_mean_solar_zenith_angle
  • calculate direct and diffuse (time-averaged) irradiance on any non-horizontal plane
    • calculate (time-averaged) solar azimuth angle
    • diffuse irradiance on a tilted plane*

*this problem needs to be kept tractable and within the limitations of what can be provided by climate models - many sophisticated tilted irradiance relationships exist in the literature but much beyond the isotropic diffuse model might be overkill given that most climate models use plane-parallel and two-stream radiation codes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.