This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Paul, > To: address@hidden > From: =?ISO-8859-1?Q?Paul_R=E9gis?= <address@hidden> > Subject: index bounds in dimension declaration > Organization: ONERA > Keywords: netCDF F90 array declaration The above message contained the following: > I am facing the following problem : > I would need to declare a dimension 1 array (vector) whose length is 10 > values but with indices varying from (-5:4) as it is possible in Fortran > 90. I don't find any mean to do that with NetCDF Fortran interface. Do > you think it is possible and how ? I'm sorry, but the netCDF data model and the netCDF Fortran interfaces don't support that kind of indexing. Good luck. > Thank you for your help, > > -- > ----------------------------------------------------------------------- > Paul REGIS ONERA > Tel: (33) 04.79.20.20.75 Centre de Modane Avrieux > Fax: (33) 04.79.20.21.68 BP 25 > mailto: address@hidden 73500 MODANE - France > http://www.onera.fr > ----------------------------------------------------------------------- Regards, Steve Emmerson