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.
Hello, I'd like to read/write (in C) a netcdf variable with N dimensions into a variable with N dimensions but not in the same order (and not simply transposed). For exemple: Netcdf variable dimensioned as [2,3,4] and memory variable as [3, 4, 2]. I tried to play with nc_get_varm_xxx but I am not sure I understand how it works (maybe my English skill is too low). Transposing is ok... but other things I am not sure. Can these routines do this or may I write the dimension switching by hand ? Thanks. -- Philippe Poilbarbe CLS - Space Oceanography Division
netcdfgroup
archives: