How to extract data from multiple NetCDF files in one R script

preview_player
Показать описание
In this video, I'll show you how you can access data from multiple NetCDF files in one R script. I will cover:

00:00 Introduction

02:06 Looping through multiple files
Pulling data based on variable names or pulling global attributes

16:30 Error handling
Skipping files where relevant information is not found, so you script doesn't crash!

23:45 Pull data based on the the CF standard_name attribute
This attribute is taken from the CF conventions. If different people create NetCDF-CF files including the same variable name, they should both assign the same standard_name variable attribute so a person (or script) can identify them as the same variable.

Data used in this video:

The data are in NetCDF-CF files, and are FAIR. The data are published to NMDC in a hierarchical way.
One page (and DOI) for whole project
One page (and DOI) for each cruise
One page (and DOI) for each cast - sometimes multiple casts at a single station. The file is here.

The scripts used are here:

Related videos:

Like and subscribe!
Рекомендации по теме
Комментарии
Автор

Hi Luke ! I have an urgent problem regarding data management of the ERA5 reanalysis dataset. Would you be able to help me with that ? Rasmus

rasmusfriberg
visit shbcf.ru