JGCRI / CMIP6

documentation and processing code for JGCRI's CMIP6 archive on pic
4 stars 1 forks source link

Sequence of commands -> R function #4

Closed kdorheim closed 4 years ago

kdorheim commented 5 years ago

Objective

Translate the sequence of commands that process monthly gridded netcdf into a data frame of annual global values into a function.

  1. A function that processes gridded monthly to weighted global annual mean data for a dingle model / variable / scenario / ensemble member
  2. Proof that the function worked

Purpose

This function is going to be the main function that we use to process the CMIP netcdfs from monthly gridded data to annual monthly data. This function will be used to process the sets of netcdf files (40 files or more).

Tips

Here are some things that you are going to want to think about you are working on designing this function.