Skip to content

santiagomelendez/solar_radiation_model

 
 

Repository files navigation

Solar Radiation Model

Gitter

License Downloads Build Status Coverage Status PyPI version Stories in Ready

Solar Radiation Model is a python script that estimates the solar radiation at the soil level.

Requirements

If you want to use this library on any GNU/Linux or OSX system you just need to execute:

$ pip install solar_radiation_model

If you want to improve this library, you should download the github repository and execute:

$ make deploy

On Ubuntu Desktop there are some other libraries not installed by default (zlibc curl libssl0.9.8 libbz2-dev libxslt*-dev libxml*-dev) which may need to be installed to use these library. Use the next command to automate the installation of the additional C libraries:

$ make ubuntu deploy

or:

$ make osx deploy

Testing

To test all the project you should use the command:

$ make test

If you want to help us or report an issue join to us through the GitHub issue tracker.

Example

To use the library, create a JobDescription instance using a config dictionary:

    from models import JobDescription
    config = {
        'algorithm': 'heliosat',
        'static_file': 'static.nc',
        'data': 'data/goes13.2015.*.nc',
        'tile_cut': {
            'xc': [10, 15],
            'yc': [20, 45]},
        'hard': 'gpu',
    }
    job = JobDescription(**config)
    elapsed_time, output = job.run()
    print output.time, output.cloudindex, output.globalradiation

About

This software is developed by GERSolar. You can contact us to gersolar.dev@gmail.com.

About

Solar Radiation Model is a python service that provides you with satellital images and a filter architecture.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 81.1%
  • Cuda 14.1%
  • Makefile 4.8%