Skip to content

Commit

Permalink
Merge pull request #96
Browse files Browse the repository at this point in the history
[WIP] Notebook - general-preprocessing-rainfall_noaa
  • Loading branch information
acocac authored Jul 16, 2022
2 parents 7e52d2f + f201b2a commit 485851d
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 29 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@
path = book/gallery/exploration/agriculture-exploration-cosmosuk
url = https://github.com/Environmental-DS-Book/agriculture-exploration-cosmosuk.git
branch = render
[submodule "book/gallery/preprocessing/general-preprocessing-rainfall_noaa"]
path = book/gallery/preprocessing/general-preprocessing-rainfall_noaa
url = https://github.com/Environmental-DS-Book/general-preprocessing-rainfall_noaa
branch = render
30 changes: 30 additions & 0 deletions book/_bibliography/references.bib
Original file line number Diff line number Diff line change
Expand Up @@ -250,3 +250,33 @@ @misc{10.5285/b5c190e4-e35d-40ea-8fbe-598da03a1185
year = {2021},
topic = {agriculture-sensors-cosmosuk_documentation}
}

@article {QuantifyingCausalPathwaysofTeleconnections,
author = "Marlene Kretschmer and Samantha V. Adams and Alberto Arribas and Rachel Prudden and Niall Robinson and Elena Saggioro and Theodore G. Shepherd",
title = "Quantifying Causal Pathways of Teleconnections",
journal = "Bulletin of the American Meteorological Society",
year = "2021",
publisher = "American Meteorological Society",
address = "Boston MA, USA",
volume = "102",
number = "12",
doi = "10.1175/BAMS-D-20-0117.1",
pages= "E2247 - E2263",
url = "https://journals.ametsoc.org/view/journals/bams/102/12/BAMS-D-20-0117.1.xml",
topic = {general-preprocessing-rainfall_noaa_pipeline}
}

@article { TheNCEPNCAR40YearReanalysisProject,
author = "E. Kalnay and M. Kanamitsu and R. Kistler and W. Collins and D. Deaven and L. Gandin and M. Iredell and S. Saha and G. White and J. Woollen and Y. Zhu and M. Chelliah and W. Ebisuzaki and W. Higgins and J. Janowiak and K. C. Mo and C. Ropelewski and J. Wang and A. Leetmaa and R. Reynolds and Roy Jenne and Dennis Joseph",
title = "The NCEP/NCAR 40-Year Reanalysis Project",
journal = "Bulletin of the American Meteorological Society",
year = "1996",
publisher = "American Meteorological Society",
address = "Boston MA, USA",
volume = "77",
number = "3",
doi = "10.1175/1520-0477(1996)077<0437:TNYRP>2.0.CO;2",
pages= "437 - 472",
url = "https://journals.ametsoc.org/view/journals/bams/77/3/1520-0477_1996_077_0437_tnyrp_2_0_co_2.xml",
topic = {general-preprocessing-rainfall_noaa_dataset}
}
3 changes: 3 additions & 0 deletions book/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ parts:
title: SEVIRI Level 1.5 (EUMESAT)
- file: gallery/preprocessing
title: Preprocessing
sections:
- file: gallery/preprocessing/general-preprocessing-rainfall_noaa/general-preprocessing-rainfall_noaa
title: Rainfall NCEP/NCAR (NOAA)
- file: gallery/modelling
title: Modelling
sections:
Expand Down
75 changes: 46 additions & 29 deletions misc/rohub/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,27 @@

# metadata
metadata_contribution = {
'environment': 'agriculture',
'environment': 'general',
'topic': 'exploration',
'filename': 'agriculture-exploration-cosmosuk',
'title': 'Cosmos-UK soil moisture',
'inputs': {'input1':{'name':"Inputs of the Jupyter Notebook - Cosmos-UK soil moisture",
'url':"https://doi.org/10.5281/zenodo.6567018"},
'filename': 'general-preprocessing-rainfall_noaa',
'title': 'Concatenating a gridded rainfall reanalysis dataset into a time series',
'inputs': {'input1':{'name':"Inputs of the Jupyter Notebook - Concatenating a gridded rainfall reanalysis dataset into a time series",
'url':"https://downloads.psl.noaa.gov/Datasets/ncep.reanalysis.derived/surface_gauss/prate.sfc.mon.mean.nc"},
},
'outputs': {'content': 'table and figures',
'url': "https://doi.org/10.5281/zenodo.6566942"},
'outputs': {'content': 'figures',
'url': "https://doi.org/10.5281/zenodo.6824189"},
'author_GHuser': 'Environmental-DS-Book',
'references':{'ref1':{'name':'Daily and sub-daily hydrometeorological and soil data (2013-2019) [cosmos-uk]','url':"https://doi.org/10.5285/b5c190e4-e35d-40ea-8fbe-598da03a1185"},
'ref2':{'name':'Soil water content in southern england derived from a cosmic-ray soil moisture observing system – cosmos-uk','url':"https://doi.org/10.1002/hyp.10929"},
'ref3':{'name':'Cosmos: the cosmic-ray soil moisture observing system','url':"https://doi.org/10.5194/hess-16-4079-2012"}},
'sketch': {'title':'Image showing interactive plot of IceNet seasonal forecasts of Artic sea ice according to four lead times and months in 2020',
'path':'_temp/rohub/agriculture-exploration-cosmosuk/interactive_plotting.png'}
'references':{'ref1':{'name':'The NMC/NCAR 40-year reanalysis project','url':"http://doi.org/10.1175/1520-0477(1996)077%3C0437:TNYRP%3E2.0.CO;2"},
'ref1':{'name':'Quantifying Causal Pathways of Teleconnections','url':"https://doi.org/10.1175/BAMS-D-20-0117.1"}},
'sketch': {'title':'Image showing interactive plot of global monthly precipitation mean computed from NCEP/NCAR reanalysis dataset',
'path':'_temp/rohub/general-preprocessing-rainfall_noaa/interactive_plotting.png'}
}

title_nb = metadata_contribution['title']

metadata_rohub = {
'title': f'{title_nb} (Jupyter Notebook) published in the Environmental Data Science book',
'research_areas': ['Environmental research', 'Soil science', 'Hydrology'],
'research_areas': ['Environmental research', 'Climatology'],
'description': f'The research object refers to the {title_nb} notebook published in the Environmental Data Science book.',
'ros_type': 'Executable Research Object',
'ros_template': 'Executable Research Object folders structure',
Expand All @@ -44,31 +43,49 @@
ro_ros_type=metadata_rohub['ros_type']
ro_ros_template=metadata_rohub['ros_template']

ro = rohub.ros_create(title=ro_title, research_areas=ro_research_areas, description=ro_description, ros_type=ro_ros_type, template=ro_ros_template)
ro = rohub.ros_create(title=ro_title, research_areas=ro_research_areas, description=ro_description, ros_type=ro_ros_type, use_template=ro_ros_template)

# edition
authors=[
{"user_id": "https://github.com/acocac",
"display_name": "Alejandro Coca-Castro",
"name": "Alejandro Coca-Castro",
"affiliation": "The Alan Turing Institute"},
# {"user_id": "https://orcid.org/0000-0003-0808-3480",
# "display_name": "Raquel Carmo",
# "name": "Raquel Carmo",
# "affiliation": "European Space Agency Φ-lab"},
{"user_id": "https://github.com/timo0thy",
"display_name": "Timothy Lam",
"name": "Timothy Lam",
"email": "tlam@turing.ac.uk",
"affiliation": "University of Exeter"},
{"user_id": "https://github.com/MarleneKretschmer",
"display_name": "Marlene Kretschmer",
"name": "Marlene Kretschmer",
"email": "m.j.a.kretschmer@reading.ac.uk",
"affiliation": "University of Reading"},
{"user_id": "https://github.com/svadams",
"display_name": "Samantha Adams",
"name": "Samantha Adams",
"email": "samantha.adams@metoffice.gov.uk",
"affiliation": "Met Office Informatics Lab"},
{"user_id": "https://github.com/RPrudden",
"display_name": "Rachel Prudden",
"name": "Rachel Prudden",
"email": "rachel.prudden@informaticslab.co.uk",
"affiliation": "Met Office Informatics Lab"},
{"user_id": "https://github.com/ESaggioro",
"display_name": "Elena Saggioro",
"name": "Elena Saggioro",
"email": "e.saggioro@pgr.reading.ac.uk",
"affiliation": "University of Reading"},
]

ro.set_authors(agents=authors)

reviewers=[
{"user_id": "https://github.com/dorankhamis",
"display_name": "Doran Khamis",
"name": "Doran Khamis",
"affiliation": "UK Centre for Ecology & Hydrology"},
{"user_id": "https://github.com/mattfry-ceh",
"display_name": "Matt Fry",
"name": "Matt Fry",
"affiliation": "UK Centre for Ecology & Hydrology"},
"display_name": "Nick Homer",
"name": "Nick Homer",
"email": "nhomer@turing.ac.uk",
"affiliation": "University of Edinburgh"},
{"user_id": "https://github.com/acocac",
"display_name": "Alejandro Coca-Castro",
"name": "Alejandro Coca-Castro",
"affiliation": "The Alan Turing Institute"},
]


Expand Down

0 comments on commit 485851d

Please sign in to comment.