[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20031223: index bounds in dimension declaration: netCDF F90



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