NCAR / cesm-lens-aws

Examples of analysis of CESM LENS data publicly available on Amazon S3 (us-west-2 region) using xarray and dask
https://doi.org/10.26024/wt24-5j82
BSD 3-Clause "New" or "Revised" License
43 stars 23 forks source link

Notebook(s) reconstructing 2 figures from Kay et al. (2015) paper (Figs 2 & 4) #4

Closed andersy005 closed 4 years ago

andersy005 commented 5 years ago

Paper: https://journals.ametsoc.org/doi/full/10.1175/BAMS-D-13-00255.1

NB: w/o obs data for now

TO DO:

Use https://esip.pangeo.io for compute

@jhamman, I just wanted to let you know that the intake static catalogs are now available (#3). Let me know how I can help with this task.

Cc @bonnland, @jeffdlb, @sethmcg

jhamman commented 5 years ago

I've gotten a start on this. My goal is to setup a basic notebook creating the two figures listed above. Then hand it off to others for fine tuning. I hope this will be a useful demonstration of tools and a sufficient primer to get others rolling.

jeffdlb commented 5 years ago

Thanks, Joe!

On Tue, Sep 3, 2019, 11:42 Joe Hamman <notifications@github.com wrote:

I've gotten a start on this. My goal is to setup a basic notebook creating the two figures listed above. Then hand it off to others for fine tuning. I hope this will be a useful demonstration of tools and a sufficient primer to get others rolling.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NCAR/cesm-lens-aws/issues/4?email_source=notifications&email_token=ABF4W4SJA3PHNRJOABNAWU3QH2AVJA5CNFSM4ITBTXZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5YUEVI#issuecomment-527516245, or mute the thread https://github.com/notifications/unsubscribe-auth/ABF4W4SISAENYATHHFLJWVTQH2AVJANCNFSM4ITBTXZQ .

andersy005 commented 5 years ago

@sethmcg, I just moved your comment here since this issue is still open

Do we have a good sense of who the target audience is for this notebook? I think it may need more commentary about what various bits of code do, but I don't know what we want to assume about what the reader already knows.

Originally posted by @sethmcg in https://github.com/NCAR/cesm-lens-aws/pull/5#issuecomment-528010473

andersy005 commented 5 years ago

I could use some feedback on this PR #6. I added functionality to compute:

Rendered notebook: https://nbviewer.jupyter.org/gist/andersy005/00c2798f9200c3a2a14f8ea845ba15a0

andersy005 commented 5 years ago

@jhamman,

TODO: Figure out why dask workers are dying when using the k8s cluster

I didn't experience any issue with dask kubernetes on https://esip.pangeo.io . I am not sure what was wrong on http://icesat2.pangeo.io

jeffdlb commented 5 years ago

Hi Anderson-

Thanks for working on this. I was just putting together a slide for my talk Thursday showing the original figures and your JNB reproductions. Fig 2 matches nicely, but Figure 4 seems different when each globe is inspected in detail. Not sure if that is a data issue or color palette choice or what.

-Jeff

PS. CCing NCAR S@S list because I think your original message only went out to a few of us.

Jeff de La Beaujardiere, PhD Director, NCAR/CISL Information Systems Division https://staff.ucar.edu/users/jeffdlb https://orcid.org/0000-0002-1001-9210

On Wed, Sep 4, 2019 at 10:54 PM Anderson Banihirwe notifications@github.com wrote:

I could use some feedback on this PR #6 https://github.com/NCAR/cesm-lens-aws/pull/6. I added functionality to compute:

  • weighted spatial means for model data
  • weighted temporal mean for obs data

Rendered notebook: https://nbviewer.jupyter.org/gist/andersy005/00c2798f9200c3a2a14f8ea845ba15a0

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NCAR/cesm-lens-aws/issues/4?email_source=notifications&email_token=ABF4W4S2TB5XHVVKVWI7OR3QIAN6TA5CNFSM4ITBTXZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD546MVY#issuecomment-528082519, or mute the thread https://github.com/notifications/unsubscribe-auth/ABF4W4TBWNRX5C4VL4NT4ATQIAN6TANCNFSM4ITBTXZQ .

jeffdlb commented 5 years ago

Anderson, Joe et al.-

Thanks again for work done so far on the Jupyter Notebook for CESM LENS on AWS. Given that we have Sept 27 deadline to submit documentation such as this prior to AWS Public Dataset announcement, I have a couple of questions and requests if possible:

Finally, I note that we can actually start charging some hours to a new account key for "science at scale" if that helps. I have the equivalent of about 1 FTE of time that I can allocate in CISL.

Best regards, Jeff DLB

Jeff de La Beaujardiere, PhD Director, NCAR/CISL Information Systems Division https://staff.ucar.edu/users/jeffdlb https://orcid.org/0000-0002-1001-9210

On Mon, Sep 9, 2019 at 9:52 AM Jeff de La Beaujardiere jeffdlb@ucar.edu wrote:

Hi Anderson-

Thanks for working on this. I was just putting together a slide for my talk Thursday showing the original figures and your JNB reproductions. Fig 2 matches nicely, but Figure 4 seems different when each globe is inspected in detail. Not sure if that is a data issue or color palette choice or what.

-Jeff

PS. CCing NCAR S@S list because I think your original message only went out to a few of us.

Jeff de La Beaujardiere, PhD Director, NCAR/CISL Information Systems Division https://staff.ucar.edu/users/jeffdlb https://orcid.org/0000-0002-1001-9210

On Wed, Sep 4, 2019 at 10:54 PM Anderson Banihirwe < notifications@github.com> wrote:

I could use some feedback on this PR #6 https://github.com/NCAR/cesm-lens-aws/pull/6. I added functionality to compute:

  • weighted spatial means for model data
  • weighted temporal mean for obs data

Rendered notebook: https://nbviewer.jupyter.org/gist/andersy005/00c2798f9200c3a2a14f8ea845ba15a0

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NCAR/cesm-lens-aws/issues/4?email_source=notifications&email_token=ABF4W4S2TB5XHVVKVWI7OR3QIAN6TA5CNFSM4ITBTXZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD546MVY#issuecomment-528082519, or mute the thread https://github.com/notifications/unsubscribe-auth/ABF4W4TBWNRX5C4VL4NT4ATQIAN6TANCNFSM4ITBTXZQ .

andersy005 commented 5 years ago

@jeffdlb,

here's the new version of the notebook: https://nbviewer.jupyter.org/gist/andersy005/00c2798f9200c3a2a14f8ea845ba15a0?flush_cache=true

andersy005 commented 5 years ago

@jeffdlb

  • The very first step in the notebook gets observational data from a different source to compare with LENS to reproduce Figure 2. Can we move that to just before the obs data are needed, such that the initial parts of the JNB are clearly about LENS?

This is fixed

  • Can we add more text/commentary to the notebook to explain what is being done? I would be happy to help with that but not sure about the procedure.

It would be nice to document the notebook

I would be happy to help with that but not sure about the procedure.

I suggest:

Let me know if you have any question.

jeffdlb commented 5 years ago

Originally posted by: @andersy005

Hi all,

Joe and I were wondering whether someone knows if, included in the main LENS archive, there was a 2d field of grid cell areas for the atmosphere, and land components? As far as I can remember, I've only seen these grid cell area fields for the T grid, and U grid used in cice and ocean components.

On Thu, Sep 12, 2019 at 2:45 AM Jeff de La Beaujardiere jeffdlb@ucar.edu wrote:

Anderson, Joe et al.-

Thanks again for work done so far on the Jupyter Notebook for CESM LENS on AWS. Given that we have Sept 27 deadline to submit documentation such as this prior to AWS Public Dataset announcement, I have a couple of questions and requests if possible:

  • The "rendered notebook" at https://nbviewer.jupyter.org/gist/andersy005/00c2798f9200c3a2a14f8ea845ba15a0 is a static document. Is a "live notebook" available somewhere?
  • The very first step in the notebook gets observational data from a different source to compare with LENS to reproduce Figure 2. Can we move that to just before the obs data are needed, such that the initial parts of the JNB are clearly about LENS?
  • Can we add more text/commentary to the notebook to explain what is being done? I would be happy to help with that but not sure about the procedure.
  • Can others modify this JNB if you are short on time?

Finally, I note that we can actually start charging some hours to a new account key for "science at scale" if that helps. I have the equivalent of about 1 FTE of time that I can allocate in CISL.

Best regards, Jeff DLB

Jeff de La Beaujardiere, PhD Director, NCAR/CISL Information Systems Division https://staff.ucar.edu/users/jeffdlb https://orcid.org/0000-0002-1001-9210

On Mon, Sep 9, 2019 at 9:52 AM Jeff de La Beaujardiere jeffdlb@ucar.edu wrote:

Hi Anderson-

Thanks for working on this. I was just putting together a slide for my talk Thursday showing the original figures and your JNB reproductions. Fig 2 matches nicely, but Figure 4 seems different when each globe is inspected in detail. Not sure if that is a data issue or color palette choice or what.

-Jeff

PS. CCing NCAR S@S list because I think your original message only went out to a few of us.

Jeff de La Beaujardiere, PhD Director, NCAR/CISL Information Systems Division https://staff.ucar.edu/users/jeffdlb https://orcid.org/0000-0002-1001-9210

On Wed, Sep 4, 2019 at 10:54 PM Anderson Banihirwe < notifications@github.com> wrote:

I could use some feedback on this PR #6 https://github.com/NCAR/cesm-lens-aws/pull/6. I added functionality to compute:

  • weighted spatial means for model data
  • weighted temporal mean for obs data

Rendered notebook: https://nbviewer.jupyter.org/gist/andersy005/00c2798f9200c3a2a14f8ea845ba15a0

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NCAR/cesm-lens-aws/issues/4?email_source=notifications&email_token=ABF4W4S2TB5XHVVKVWI7OR3QIAN6TA5CNFSM4ITBTXZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD546MVY#issuecomment-528082519, or mute the thread https://github.com/notifications/unsubscribe-auth/ABF4W4TBWNRX5C4VL4NT4ATQIAN6TANCNFSM4ITBTXZQ .

--

Anderson Banihirwe Software Engineer, I/O & Workflow Applications (IOWA)

The National Center for Atmospheric Research Computational and Information Systems Laboratory 1850 Table Mesa Dr Boulder, CO 80305

Phone: (303) 497-2494 Office: ML-494 Web: https://andersonbanihirwe.dev