Need help regarding mergetime for netcdf files
Added by Ben L over 9 years ago
Hi all, I have been trying to combine multiple netcdf files into a single netcdf file, in order for further processing. The files have same variables, just separated based on times.
I tried to do this merging process on two sample files as attached below
I attempted to use cdo mergetime ionPrf_C002.2015.???.??.??.G??_0001.nc
but it said:
cdo merge (Abort): Wildcards support not compiled in!
---
Failing which, I tried cdo cat ionPrf_C002.2015.204.00.00.G16_0001.nc ionPrf_C002.2015.204.04.13.G30_0001.nc test.nc
but it said:
cdo cat (Abort): Grid size of the input parameters do not match!
-
Could I please have your advice on how I should go about combining multiple netcdf files using cdo? So far I have no success. I need to combine close to 50 of these netcdf files.
Thank you very much
Best regards
Ben
Replies (1)
RE: Need help regarding mergetime for netcdf files - Added by Ralf Mueller over 9 years ago
Your input files have different grids:
ram@luthien:~/Downloads cdo sinfov ionPrf_C002.2015.204.0* [10:03:23|15-09-08] File format : netCDF -1 : Institut Source Ttype Levels Num Points Num Dtype : Parameter name 1 : unknown unknown constant 1 1 360 1 F32 : GEO_lat 2 : unknown unknown constant 1 1 360 1 F32 : GEO_lon 3 : unknown unknown constant 1 1 360 1 F32 : OCC_azi 4 : unknown unknown constant 1 1 360 1 F32 : TEC_cal 5 : unknown unknown constant 1 1 360 1 F32 : ELEC_dens Grid coordinates : 1 : generic : points=360 MSL_alt : 104.233 to 835.062 km Vertical coordinates : 1 : surface : levels=1 File format : netCDF -2 : Institut Source Ttype Levels Num Points Num Dtype : Parameter name 1 : unknown unknown constant 1 1 457 1 F32 : GEO_lat 2 : unknown unknown constant 1 1 457 1 F32 : GEO_lon 3 : unknown unknown constant 1 1 457 1 F32 : OCC_azi 4 : unknown unknown constant 1 1 457 1 F32 : TEC_cal 5 : unknown unknown constant 1 1 457 1 F32 : ELEC_dens Grid coordinates : 1 : generic : points=457 MSL_alt : 0.910965 to 777.574 km Vertical coordinates : 1 : surface : levels=1 cdo sinfon: Processed 10 variables ( 0.00s )
mergetime expects equal grids