rubisco-sfa / IOMB-Data

A collection of scripts used to format IOMB data and community portal to make contributions
2 stars 1 forks source link

World Ocean Atlas #1

Closed nocollier closed 2 years ago

nocollier commented 2 years ago

@weiweifu

I wanted to start getting all the ocean data conversion scripts into this repository and thought we could start with WOA, specifically temperature. My idea is if I can show you one script that does things in a good way, it will simpler to replicate for the others and we can work on them together.

I have some questions:

weiweifu commented 2 years ago

@nocollier

Nate, thank you! Could we just try the decade of 94-04 as an example? I think you are correct that we compare model with data for the same timeframe. we can use 't_se' as observational uncertainty. we may not have this for other datasets, but can get some information from literature. Let's try the WOA18 first, then GLODAPv2.

nocollier commented 2 years ago

Under further inspection, there are some more choices. For any time period, I am seeing a few variables inside:

I had originally looked at the 1981-2010 period for which the t_mn and t_sd was pretty dense. If we did we could use the standard deviation as a measure of observational uncertainty. It made me wonder if we don't want to use this product. But as I look to the 1995-2004 period, the data is of course more sparse.

Ultimately these are questions the ocean benchmarking community needs to address. For now I will just grab t_an for 1995-2004, but we can revisit this later.

nocollier commented 2 years ago

Ok, I have a start pushed. Take a look and see what you think:

https://github.com/rubisco-sfa/IOMB-Data/blob/main/WOA2018/convert.py

Also, were you extracting data at different depths? or were you taking an average over a depth range to compare to models? @weiweifu

weiweifu commented 2 years ago

@nocollier Nate, The script looks nice! For wOA, I extract data at 0, 200 m and 700 m for the comparison in the IOMB paper. For GLODAPv2, I extract data and interpolate the the standard depths as in the WOA.

nocollier commented 2 years ago

Ok, so the script is updated to encode all the data from WOA. It will download it all and re-encode it. I want to do a few things here:

weiweifu commented 2 years ago

@nocollier

Ok, so the script is updated to encode all the data from WOA. It will download it all and re-encode it. I want to do a few things here:

  • I want to grab a few ocean models off ESGF and place them here on OLCF and run tests for the data as we update it.

  • I need to extend ILAMB to understand the climatology bounds and compute one from model results This is important. Before, I had to download the required model output based on the data used.

  • I need to add something to the configure language such that we can add one entry for, say, temperature but then specify that we want it at any number of depths and this will get autogenerated. This is cool. For the particular IOMB paper, all were hard-coded .

  • I want to step through this script and explain it all to you. Would be great if you would be willing to learn and contribute some others in the same style. Sure, I think I can apply the script to other WOA variables. For GLODAPv2 or Argo and other products, to do this, I think the sparse data need to be first interpolated to gridded data as the WOA. We can talk about it later.

nocollier commented 2 years ago

I have added code to ILAMB in nocollier/iomb-layering which will take the following configure snippet:

[h1: Physical Drivers]

[h2: Temperature]
variable = "thetao"
depths = 0, 200, 700

[WOA2018]
source = "DATA/WOA2018/thetao.nc"

and generates 3 separate comparisons at each depth automatically. Can you @weiweifu take a look at the results and make sure it looks correct to you?

If it looks ok, then I will make sure I didn't break any of ILAMB and push.

Also, note that the WOA formatting script already handles all the WOA variables.

weiweifu commented 2 years ago

Hi Nate

The temperature results look good to me. Thank you!

Best Weiwei

On Tue, Aug 16, 2022 at 8:23 AM nocollier @.***> wrote:

I have added code to ILAMB in nocollier/iomb-layering which will take the following configure snippet:

[h1: Physical Drivers]

[h2: Temperature] variable = "thetao" depths = 0, 200, 700

[WOA2018] source = "DATA/WOA2018/thetao.nc"

and generates 3 separate comparisons at each depth automatically. Can you @weiweifu https://urldefense.com/v3/__https://github.com/weiweifu__;!!CzAuKJ42GuquVTTmVmPViYEvSg!KknbMlTuoJfSehFDil5pmZCczbvCkp-EoNb7KLvLtKC9Rjh0e3YIOtBlDBMEiK1mXsjF-3SpPN_NWB3gOG3VYOFj$ take a look at the results https://urldefense.com/v3/__https://www.ilamb.org/dev/IOMB/__;!!CzAuKJ42GuquVTTmVmPViYEvSg!KknbMlTuoJfSehFDil5pmZCczbvCkp-EoNb7KLvLtKC9Rjh0e3YIOtBlDBMEiK1mXsjF-3SpPN_NWB3gOJ3qitvN$ and make sure it looks correct to you?

If it looks ok, then I will make sure I didn't break any of ILAMB and push.

Also, note that the WOA formatting script already handles all the WOA variables.

— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/rubisco-sfa/IOMB-Data/issues/1*issuecomment-1216787558__;Iw!!CzAuKJ42GuquVTTmVmPViYEvSg!KknbMlTuoJfSehFDil5pmZCczbvCkp-EoNb7KLvLtKC9Rjh0e3YIOtBlDBMEiK1mXsjF-3SpPN_NWB3gOPyKv8yg$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AB27GWMDOP5HOCOGFVJFRP3VZOW5HANCNFSM55TZBGFQ__;!!CzAuKJ42GuquVTTmVmPViYEvSg!KknbMlTuoJfSehFDil5pmZCczbvCkp-EoNb7KLvLtKC9Rjh0e3YIOtBlDBMEiK1mXsjF-3SpPN_NWB3gOPDaiM4t$ . You are receiving this because you were mentioned.Message ID: @.***>

nocollier commented 2 years ago

The WOA 2018 data (oxygen, nitrate, phosphate, silicate, temperature, and salinity) is encoded and available for download via:

ilamb-fetch --remote_root https://www.ilamb.org/IOMB-Data

Note that this version of the data includes:

Results may be found at:

https://www.ilamb.org/dev/IOMB/

where we will work on adding some more models for testing purposes.