Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Simone Marras a écrit : > ... > Is there a way to control the position inside the file where the variable > value is added? > I need to put it in a certain position because when I use CDO to merge > several > files, the output merged file does not have a date anymore. > ... No there is no way to control the position: they are in the order they have been created (with a little exception for 'record' vars). Anyway no program should take into account the position of the variable (in fact linked to the var Id) but only the names. For CDO (I don't know it except its name), it is a bit strange that a "generic" program throw away a variable due to its position. It may be related to some CDO options usage or the way it is working (I did have some problems like this with the NCO programs): check all options. To see if it is related to the position, you can try to export your NetCDF file with ncdump, then with a text editor move the variable (in the header only, it is sufficient) where your think it should be and then regenerate the file with ncgen. Rerun CDO with this new file and it is probable that you will have the same result (and normally it should be the same). If it is not the same result (except, maybe for variable positions if the resulting file), it may be a CDO bug. -- Ph. Poilbarbe CLS - Space Oceanography Division ============================================================================== To unsubscribe netcdfgroup, visit: http://www.unidata.ucar.edu/mailing-list-delete-form.html ==============================================================================
netcdfgroup
archives: