Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
w-k-jones authored Jul 8, 2024
1 parent c0a166c commit 22e07b6
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,32 @@
# CloudSatiPy
Read CloudSat HDF files into xarray datasets

This package is designed to be a lightweight but versatile method for loading Cloudsat data products produced by the Cloudsat DPC ([(https://www.cloudsat.cira.colostate.edu/)](https://www.cloudsat.cira.colostate.edu/)).

The minimal requirements can be installed from conda using the following:

```conda install -c conda-forge --yes --file conda-requirements.txt```

Alternatively, a complete environment for running the examples can be created by running:

```conda env create -f environment.yml --yes```

The cloudsatipy module contains a single function, `open_cloudsat`, which can be used to read Cloudsat HDF files:

```
from cloudsatipy import open_cloudsat
ds = open_cloudsat(cloudsat_filename, [variables=optional_list_of_vars_to_read])
```

Under the hood, it utilises a reader class, which can be used if you need to load variables in later in processing:

```
from cloudsatipy.reader import CloudsatReader
reader = CloudsatReader(cloudsat_filename)
ds = reader.data
...do some processing...
reader.read_data(requested_variable)
new_ds = reader.data
```

A number of jupyter notebooks showing different applications can be found in the `examples` folder

0 comments on commit 22e07b6

Please sign in to comment.