Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
shiv3679 committed Sep 5, 2023
1 parent d06e2ce commit e87d6da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ climate_index.pre_process(time_range=None, fill_missing=None, resample_freq=None
- Other methods, such as `sum`, `max`, etc., can be specified if needed.
- Use Case: This provides flexibility in how the data is aggregated when resampling, allowing for different types of analysis and interpretation.

#### Additional Checks
- **Units Check**: The function also performs a check on the unit of the data variables. It supports 'K' for temperature and 'm' for precipitation.
- **Special Rule**: If season is 'DJF', and `resample_freq` is not specified, it defaults to 'QS-DEC'.

#### Example Usage

```python
Expand Down
4 changes: 4 additions & 0 deletions climate_library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ climate_index.pre_process(time_range=None, fill_missing=None, resample_freq=None
- Other methods, such as `sum`, `max`, etc., can be specified if needed.
- Use Case: This provides flexibility in how the data is aggregated when resampling, allowing for different types of analysis and interpretation.

#### Additional Checks
- **Units Check**: The function also performs a check on the unit of the data variables. It supports 'K' for temperature and 'm' for precipitation.
- **Special Rule**: If season is 'DJF', and `resample_freq` is not specified, it defaults to 'QS-DEC'.

#### Example Usage

```python
Expand Down

0 comments on commit e87d6da

Please sign in to comment.