[gradsusr] Merging files with CDO

Jeff Duda jeffduda319 at gmail.com
Thu Jul 14 15:38:42 EDT 2016


Justin,
Can you use ncdump to verify that the files are indeed in netCDF? I don't
use much CDO, but with other programs like NCL it matters what the file
extension is. You might try other extensions.

Jeff

On Thu, Jul 14, 2016 at 2:32 PM, Justin Hicks <jhicks2014 at gmail.com> wrote:

> Users,
>
> I am trying to use CDO to merge two netcdf MERRA2 files from different
> decades.
>
> MERRA2_Monthly_1980-1991_Flx_1Deg_EvapFromTurbulence.nc
> MERRA2_Monthly_1992-2000_Flx_1Deg_EvapFromTurbulence.nc
>
> Both have monthly time-steps but different tdefs as you can see by the
> range of years.
>
> I've tried using these commands so far:
>
> cdo cat *file1 file2* *Output*
> cdo merge *file1 file2 Output*
> cdo mergetime *file1 file2 Output*
>
> I get an error each time that says:
> Open failed on >MERRA2_Monthly_1980-1991_Flx_1Deg_EvapFromTurbulence.nc<
> Unsupported file type
>
> I'm not too sure why this file is 'unsupported' when the two MERRA2 files
> are both netcdf.
>
> -Justin
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Post-doctoral research associate
University of Oklahoma School of Meteorology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160714/4d3670e5/attachment.html 


More information about the gradsusr mailing list