Giter Club home page Giter Club logo

pyseaflux's People

Contributors

lukegre avatar mvdh7 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

pyseaflux's Issues

Set up data pipe line for future versions of SeaFlux data product

We see SeaFlux as both a data product and an accompanying code base.

We thus need to be able to update the data product at least annually.

The following configuration will be followed:

  • a 1°x1° by monthly resolution
  • from 1982 to present
  • variables:
    • SST = NOAA AVHRR only data
    • SSS = EN4 monthly salinity
    • Press = ERA5 msl
    • ATM = NOAA Marine Boundary Layer
    • Gas transfer velocity
      • scaled to 16.5 cm/hr
      • scaled for period 1988 to 2017 (overlaps all wind products)
      • Wind products
        • JRA55
        • ERA5
        • CCMP2
        • NCEP R1
        • NCEP R2

The data pipeline will be created with the fetch-data package

seaflux.flux_bulk selecting scaled kw func does not work

kw_scaled_params={
    'wind_speed':ds['wind_speed_ms'],
    'wind_grid_stdev':ds['wind_stdev_ms'],
    'temp_C':ds['sst'],
    'ice_frac':ds['ifrac'],
    'scaling':16,
    }
flux_bulk_params={
    'temp_bulk_C':ds['sst'],
    'salt_bulk':ds['sss'],
    'pCO2_bulk_uatm':ds['spco2'],
    'pCO2_air_uatm':(ds['xco2']*ds['mslp']),
    'press_hPa':(ds['mslp']*1013.2501),
    'wind_ms':ds['wind_speed_ms'],
    # kw_scaled should be a function like other kw values 
    'kw_func':seaflux.gas_transfer_velocity.kw_scaled(**kw_scaled_params)
    }
fgco2 = seaflux.flux_bulk(**flux_bulk_params)

Improve documentation for Kw parameterisations

Currently, each of the kw parameterisations has basic documentation (article + wind product).

More detail in the documentation would help the users understand when to use a particular parameterisation. Further, the method used to arrive at the estimate could be helpful.

Lastly, a dedicated page briefly outlining the theory of gas transfer velocity and when to use which product would be immensely useful. Perhaps a table showing the wind product used for a parameterisation.

Additional Kw parameterisations

We currently use the square of the wind product parameterisation, as in Wanninkhof (1992). Several members of the community have commented that additional parameterisations should be scaled. This could include Nightingale et al. (2000), Ho et al. (2006), McGillis et al. (1999).

One of the problems with optimising these parameters is how to perform the optimisation when more than one parameter (alpha) needs to be scaled.

Update documentation

Documentation is currently sparse. So a bit of an overhaul required.

I've migrated the documentation to sphinx which can also take Jupyter-notebooks.

The following sections that should be covered.

  • Flux calculations using raw inputs
  • Scaling the Kw for the wind products
  • A high level interface for 1°x1° monthly data calculations
  • What's new
  • How to contribute
  • Authors

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.