Project

General

Profile

Time variable >time< not found!

Added by ibrahim erkol over 2 years ago

Hi everyone,
I'm trying to apply a spatial interpolation process for my NetCDF data. Yet, it gives me " Time variable >time< not found!", "Unsupported generic coordinates (Variable: pr)!" error.
The screenshot of the error and my NetCDF file are attached.
I'd be so glad if you could tell me what's wrong with my data or the CDO version that I have now.
Plus, I cannot update my CDO to version "2.0.4", I'd be happy as well if you could tell me how to do that.
Thanks in advance
Best regards
İbrahim ERKOL


Replies (5)

RE: Time variable >time< not found! - Added by Ralf Mueller over 2 years ago

hi!

I could interpolate without problem with cdo-2.0.4 and cdo-2.0.5:

cdo -v -P 4 -remapbil,r10x10 -seltimestep,1 `lf` ~/t.nc                                                                      [Tue 2022-04-12|09:04:15]
 OpenMP:  num_procs=8  max_threads=4
cdo(1) seltimestep: Process started
cdo    remapbil: Point search radius = 180 deg
cdo    remapbil: Extrapolation disabled!
Warning (cdf_read_coordinates): Time varying grid x-bounds unsupported, skipped!
Warning (cdf_read_coordinates): Time varying grid y-bounds unsupported, skipped!
cdo(1) seltimestep: intarr entry: 1 1
cdo    remapbil: Set max_remaps to 2
cdo    remapbil: Bilinear weights from lonlat (33x35) to lonlat (10x10) grid
cdo    remapbil: Called remap_bilinear_weights()
cdo    remapbil: remap_bilinear_weights: 0.00 seconds
cdo    remapbil: Remap: 0.00 seconds
cdo    remapbil: First order mapping from grid1 to grid2:
cdo    remapbil: ----------------------------------------------
cdo    remapbil:   Grid1 min,mean,max: 1.44224e-18 1.81155e-05 0.000322035
cdo    remapbil:   Grid2 min,mean,max: 2.54677e-18 2.13525e-14 4.27024e-14
cdo    remapbil:   Number of weights 1
cdo    remapbil:   Number of sparse matrix entries 8
cdo    remapbil:   Total number of dest cells 100
cdo    remapbil:   Number of cells participating in remap 2
cdo    remapbil:   Min no of entries/row = 4
cdo    remapbil:   Max no of entries/row = 4
cdo    remapbil:   Num of rows with entries between 4 - 4  2
cdo(1) seltimestep: Processed 1155 values from 1 variable over 2 timesteps.
cdo    remapbil: Processed 1155 values from 1 variable over 1 timestep [0.38s 60MB].

The only issue is, that you have time-varying coordinate bounds. CDO does not support this feature. so your are limited to interpolations without bounds

regarding the update: Which operating system do you use?

RE: Time variable >time< not found! - Added by ibrahim erkol over 2 years ago

Hi
I'd like to thank you so much for your return.
I use CDO on Ubuntu Windows. As I said, I tried to update CDO by "Sudo apt update" kind of code lines. Yet, it didn't update to CDO 2.0.4 or 2.0.5
So, I'd be so glad if you could explain to me how I can update the CDO on my PC to higher releases/versions.
Lastly, since I am a newbie on these subjects, forgive for such a basic question but I could not get what you mean by "I have time-varying coordinate bounds". I'd be so happy as well if you could describe it to me.
Thanks in advance
Best regards
İbrahim ERKOL

RE: Time variable >time< not found! - Added by ibrahim erkol over 2 years ago

Hi again,
I forgot to add, sorry for that. Yet, I already installed CDO on Ubuntu in Virtual Environment "Linux". So, I can upgrade my CDO in Linux as well if it is easier to explain
Best
İbrahim ERKOL

RE: Time variable >time< not found! - Added by Ralf Mueller over 2 years ago

ubuntu comes with a pre-built binary installable with apt, but you wont get the latest release with this. But you can use conda for that - have a look at the Anaconda page

RE: Time variable >time< not found! - Added by ibrahim erkol over 2 years ago

Hi,
Thanks a lot for your return and help.
Best
İbrahim ERKOL

    (1-5/5)