Dear Charlie! Thanks your very much for help. I have changed the time variable in this way: ncap2 -s 'time=asort(time);' ecmwf_era_atms_2001_01.nc ecmwf_era_atms_2001_01.nc But only the variable time changes order, and I would like to change at the same time the files of the variables that depend on time (msl, tcc, u10, v10). Format: 64bit Global Attributes: Conventions = 'CF-1.6' history = '2018-08-14 22:08:50 GMT by grib_to_netcdf-2.8.0: grib_to_netcdf /data/data01/scratch/e5/e6/_mars-atls06-a82bacafb5c306db76464bc7e824bb75-AeDi1w.grib...
Dear Charlie! Thanks your very much for help. I have changed the time variable in this way: ncap2 -s 'time=asort(time);' ecmwf_era_atms_2001_01.nc ecmwf_era_atms_2001_01.nc But only the variable time changes order, and I would like to change at the same time the files of the variables that depend on time (msl, tcc, u10, v10). Format: 64bit Global Attributes: Conventions = 'CF-1.6' history = '2018-08-14 22:08:50 GMT by grib_to_netcdf-2.8.0: grib_to_netcdf /data/data01/scratch/e5/e6/_mars-atls06-a82bacafb5c306db76464bc7e824bb75-AeDi1w.grib...
Dear Charlie! Thanks your very much for help. I have changed the time variable in this way: ncap2 -s 'time=asort(time);' ecmwf_era_atms_2001_01.nc ecmwf_era_atms_2001_01.nc But only the variable time changes order, and I would like to change at the same time the files of the variables that depend on time (msl, tcc, u10, v10). Format: 64bit Global Attributes: Conventions = 'CF-1.6' history = '2018-08-14 22:08:50 GMT by grib_to_netcdf-2.8.0: grib_to_netcdf /data/data01/scratch/e5/e6/_mars-atls06-a82bacafb5c306db76464bc7e824bb75-AeDi1w.grib...
Dear Charlie! Thanks your very much for help. I have changed the time variable in this way: ncap2 -s 'time=asort(time);' ecmwf_era_atms_2001_01.nc ecmwf_era_atms_2001_01.nc But only the variable time changes order, and I would like to change at the same time the files of the variables that depend on time (msl, tcc, u10, v10). Format: 64bit Global Attributes: Conventions = 'CF-1.6' history = '2018-08-14 22:08:50 GMT by grib_to_netcdf-2.8.0: grib_to_netcdf /data/data01/scratch/e5/e6/_mars-atls06-a82bacafb5c306db76464bc7e824bb75-AeDi1w.grib...
Hi everybody! I have a netcdf file with the time variable disordered. Original time temperature 12 24 24 26 0 22 3 23.5 6 25 9 22.8 15 23 18 24.5 21 22 How can I sort this variable (from lowest to highest) and at the same time change the order of the other variables that depend on time? Something like this Original time temperature 12 24 24 26 0 22 3 23.5 6 25 9 22.8 15 23 18 24.5 21 22 The order that I want 0 22 3 23.5 6 25 9 22.8 12 24 15 23 18 24.5 21 22 24 26 I read some of re-order and ncpdq,...