Add more metadata to the aerosol deposition climatology files

Open
#4,292 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
data

Research direction

Start by locating the code that creates the monthly climatology datasets, then read how it receives args and builds merged_ds.attrs. Compare the existing ozone_strataero and NDEP metadata with the requested attributes, noting that the Description value is not specified. Done means the monthly climatology datasets include the applicable requested metadata.

Written by the indexing model from the issue text.

Description

b4b docs-loc:codebase enhancement priority: low size: small usability

There's some additional metadata on the ozone_strataero datasets and NDEP datasets from CAM-Chem that would be good to add to the monthly climatology datasets we are creating.

It looks like useful; metadata that we should add are:

    merged_ds.attrs["User"] = args.user
    merged_ds.attrs["Email"] = args.email
    merged_ds.attrs["Lab"] = args.lab
    merged_ds.attrs["cycleYear"] = args.cycleYear
    merged_ds.attrs["firstYear"] = args.firstYear
    merged_ds.attrs["lastYear"] = args.lastYear
    merged_ds.attrs["Description"]

And from looking at the NDEP file, metadata that could be added:

                :mip_era = "CMIP7" ;
                :contact = "Michaela Hegglin ([email protected]); Douglas Kinnison ([email protected]); Xiaodan Ma ([email protected]); Olaf Stein ([email protected])" ;
                :dataset_category = "surfaceFluxes" ;
                :grid = "2px2p5 degree latitude x longitude" ;
                :grid_label = "gn" ;
                :grid_resolution = "2px2p5 degree" ;
                :nominal_resolution = "250 km" ;
                :realm = "atmos" ;

Originally posted by @ekluzek in #4285

Dominant language
Fortran
Stars
362
Forks
372
Avg merge
1d 11h
Merged PRs (30d)
9

Getting set up

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.

More from ESCOMP/CTSM

All issues in ESCOMP/CTSM

Similar issues

More Data Engineering issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.