Creating a land-sea mask for gridded data - just like magic!
This video shows how you can create a mask for your gridded netcdf or grib data so you can calculate spatial statistics such as the mean just over land or ocean. The method uses cdo and needs just four simple steps. The example uses the two metre temperature, so that you can show the trends in global mean land temperatures compared to global mean ocean temperatures. The first graphic was created using the methods outlined in the video and show that global land temperatures have already increased by 2 degrees since 1950 according to the ERA-5 reanalysis! Someone pointed out that this mask will chop a part of Holland off, for being below sea level - this is true and the underlying topography available in cdo is stored anyway at low resolution (0.5 degrees I think) and this method is only meant to be rough and ready at your fingertips. If you want to have a more accurate map you can also download a ready made mask from here: https://ldas.gsfc.nasa.gov/gldas/vege... or at high resolution here is a "distance to coastline" dataset available at 0.01 degrees https://data.noaa.gov/dataset/dataset... you can convert to a mask using the logical functions outlined in my functions video. I hope you enjoy my latest effort, and I look forward to seeing you back here on climate unboxed soon.

Combining gridded fields and broadcasting

How SpaceX Humiliated Wall Street

Something is jamming GPS over Europe. Here's what we found

China Just Built What TSMC Said Was Impossible

regridding and interpolation - an essential life skill !

Watch Ukrainian Drones OBLITERATE a Russian Jet

We let AI buy a robot and a car, it does exactly what experts warned.

I Was Right About AI

Ronny Chieng Address | Harvard Class Day 2026

Ads are now police surveillance

America's Got Talent 2026 ALL AUDITIONS | Week 2

FIFA World Cup Uncut | 8 Minutes of Unforgettable Madness | Brazil vs Germany (2014 Semi-Final)

AlphaFold - The Most Useful Thing AI Has Ever Done

Doctor Tries To Make The Diagnosis | Doctordle

Download ERA5 reanalysis from the climate data store

A video on temporal statistics? It's about time too!

Why Roads Get Washboards

Passkeys Explained: Are They Actually Better Than Passwords?

10-Minute Match: Brazil vs Germany | 2014 FIFA World Cup Semi-Final

