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.
Hi, I have a dataset in which the axis order for most variables is t,i,j,level, which differs from the canonical order of t,level,j,i. I'd like to be able to find out definitively the index of the x axis in the physical data array. If I call GridDatatype.getXDimensionIndex() I get 3, which is the index in canonical order, but not the physical order (in which the index is 1). Is there any way of finding the actual index of the x axis in the physical data array? In this case, the i and j axes form a curvilinear coordinate system, i.e. there are lon(i,j) and lat(i,j) variables. Use case: custom low-level data-reading code. Reading data using a raw Variable is more efficient than through GridDatatype. Cheers, Jon -- Dr Jon Blower Technical Director, Reading e-Science Centre Environmental Systems Science Centre University of Reading Harry Pitt Building, 3 Earley Gate Reading RG6 6AL. UK Tel: +44 (0)118 378 5213 Fax: +44 (0)118 378 6413 j.d.blower@xxxxxxxxxxxxx http://www.nerc-essc.ac.uk/template.php?Page=People&id=jdb
netcdf-java
archives: