pytroll / pytroll/pyresample

Encode an AreaDefinition into a netCDF/CF file

Open
#278 17 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
385
Forks
102
Avg merge
4d 2h
Merged PRs (30d)
9

Description

This is the pendant of #269 (where we loaded an AreaDefinition from a netCDF/CF file).

In Pytroll, writing to netCDF/CF files is already covered in https://github.com/pytroll/satpy/blob/master/satpy/writers/cf_writer.py

I propose to extract the part related to the AreaDefinition in pyresample (utils/_cf.py) so that the read/write logic is contained in one place.

Comments?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the AreaDefinition handling proposed for pyresample/utils/_cf.py with the existing netCDF/CF writer in satpy/writers/cf_writer.py, alongside the loading work in issue #269. Start by locating the current read logic in pyresample/utils/_cf.py. Done means AreaDefinition encoding is supported and the related read/write logic is consolidated in that module.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.