jbusecke / easy_ipcc

We are trying to reproduce IPCC analysis plots from raw data in the cloud
Apache License 2.0
9 stars 1 forks source link

Integrate Observations #6

Open jbusecke opened 2 years ago

jbusecke commented 2 years ago

https://pangeo-forge.org/dashboard/feedstock/43 just got merged and now provides us with the obs dataset used in the plot.

This is used in several different forms: a. timeseries b. trend during observational period c. time mean over the historical period

c would be a nice demonstration of .mean() on the datatree. Is is possible to chain methods and do something like

dt.sel(time=slice('1995','2014')).mean('time')

?

That would be really cool to show!

TomNicholas commented 2 years ago

You can chain methods that are available on the tree, as with Dataset.

For sel to work you do need that to be a valid selection choice in all the nodes though, else it will error if it cannot find that time slice on some node.

On Fri, 22 Jul 2022, 16:52 Julius Busecke, @.***> wrote:

https://pangeo-forge.org/dashboard/feedstock/43 https://urldefense.proofpoint.com/v2/url?u=https-3A__pangeo-2Dforge.org_dashboard_feedstock_43&d=DwMCaQ&c=009klHSCxuh5AI1vNQzSO0KGjl4nbi2Q0M1QLJX9BeE&r=qdISi9HqjazmE0DcySuXts3OlnplnLfKjH4hpzAV0xo&m=iaiSLLgQbCR8WMTUtzKVFwZbxv7S2c86MONo7PIT-yngIqegkb_6V-JZIFhbeLaj&s=RMc-wwAmM9Fb4ar4FszoTMJcprJ89VE1fAPTmHNhFaQ&e= just got merged and now provides us with the obs dataset used in the plot.

This is used in several different forms: a. timeseries b. trend during observational period c. time mean over the historical period

c would be a nice demonstration of .mean() on the datatree. Is is possible to chain methods and do something like

dt.sel(time=slice('1995','2014')).mean('time')

?

That would be really cool to show!

— Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jbusecke_easy-5Fipcc_issues_6&d=DwMCaQ&c=009klHSCxuh5AI1vNQzSO0KGjl4nbi2Q0M1QLJX9BeE&r=qdISi9HqjazmE0DcySuXts3OlnplnLfKjH4hpzAV0xo&m=iaiSLLgQbCR8WMTUtzKVFwZbxv7S2c86MONo7PIT-yngIqegkb_6V-JZIFhbeLaj&s=w6qv0bvXZczDooxa24ZloUS6ZWULqx3KNlOwvA322Og&e=, or unsubscribe https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AISNPI2PJDHVF7AABMNS3F3VVMJYVANCNFSM54M3L3YQ&d=DwMCaQ&c=009klHSCxuh5AI1vNQzSO0KGjl4nbi2Q0M1QLJX9BeE&r=qdISi9HqjazmE0DcySuXts3OlnplnLfKjH4hpzAV0xo&m=iaiSLLgQbCR8WMTUtzKVFwZbxv7S2c86MONo7PIT-yngIqegkb_6V-JZIFhbeLaj&s=VWqcitLpY2uoZ3d9xREM4G7K3HNJytPhFoOSLIYio1g&e= . You are receiving this because you are subscribed to this thread.Message ID: @.***>