Joining multiple netCDF4 files with CDO command line tool

in netcdf4 •  7 years ago 

An usual task in any computational climate changes researcher consists in manipulate (crop, cut, join and extract) info from netCDF4 files from global numerical weather models, the infamous reanalysis.

The CDO operators are a come in handy command line tool to perform almost all basic tasks demanded in a daily bases for these files.

Here, given a directory with multiple .nc files, join all files in a single .nc can easily performed as

cdo mergetime *.nc output.nc

at the end of operation, output.nc will have the content of all files in a single file, which can be manipulated in a more efficient way.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @jaglima1984! You received a personal award!

1 Year on Steemit

Click here to view your Board

Do not miss the last post from @steemitboard:

Christmas Challenge - The party continues

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @jaglima1984! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!