Code Monkey home page Code Monkey logo

smos's Introduction

SMOS

image

image

image

image

image

SMOS (Soil Moisture and Ocean Salinity) data readers and time series converter.

Works great in combination with pytesmo.

Documentation & Software Citation

To see the latest full documentation click on the docs badge at the top.

To cite this package follow the Zenodo badge at the top and export the citation there. Be aware that this badge links to the latest package version. Additional information on DOI versioning can be found here: http://help.zenodo.org/#versioning

Installation

Before installing this package via pip, please install the necessary conda dependencies:

$ conda install -c conda-forge netcdf4 pyresample

Then

$ pip install smos

should work.

Example installation script

The following script will install miniconda and setup the environment on a UNIX like system. Miniconda will be installed into $HOME/miniconda.

wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
git clone [email protected]:TUW-GEO/smos.git smos
cd smos
conda env create -f environment.yml
source activate smos

This script adds $HOME/miniconda/bin temporarily to the PATH to do this permanently add export PATH="$HOME/miniconda/bin:$PATH" to your .bashrc or .zshrc

The second to last line in the example activates the smos environment.

After that you should be able to run:

pytest

to run the test suite.

Supported Products

Currently the following products are supported, additional products can be added.

Contribute

We are happy if you want to contribute. Please raise an issue explaining what is missing or if you find a bug. We will also gladly accept pull requests against our master branch for new features or bug fixes.

Guidelines

If you want to contribute please follow these steps:

  • Fork the smos repository to your account
  • make a new feature branch from the smos master branch
  • Add your feature
  • please include tests for your contributions in one of the test directories We use py.test so a simple function called test_my_feature is enough
  • submit a pull request to our master branch

smos's People

Contributors

adeaem avatar wpreimes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

smos's Issues

Flags are float64?

When using the SMOSTs reader, the SMOS flags are returned as float64 arrays. Is that intentional?

SMOS doc says:

Read Flags with Matlab :
>> if flag < 0
    flag = dec2bin(typecast(int8(flag),'uint8')) ;
    else
    flag = dec2bin(flag,8) ;
    end

Variable name mismatch between FTP data, test data and code expectations

Hello

I am looking at using your python package to work with SMOS radar soil moisture, however I am noticing some inconsistencies between the data variable names on the FTP, the test data and the expectations of functions like SMOSImg

Specifically, the test data includes Quality_Flag as a variable, but the data available on https://data.catds.fr/cecsm/Land_products/L3_SMOS_IC_Soil_Moisture/ does not seem to include that variable anymore, at least the few files I have tried to work with so far

Screen Shot 2023-01-28 at 3 03 11 PM

Is it possible that either the function was updated and no long matches the latest version of the data or the latest data version is missing that variable? Or is this user error?

I am trying to work through the examples in the docs
https://smos.readthedocs.io/en/latest/

Thanks!

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.