Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

mixed programming, C and Fortran and netcdf

hi,

i generate a netcdf file using C program but when i read the netcdf data
from fortran, it comes wrong. I think, fortran (column) and c (row) stores
array differently in memory and this generates problem. Is it possible to
read data without any conversion (such as intercahage the data to fortran
stored format)? If not, it means that netcdf formats depends on the creator
programming language and it is not possible to always have information about
it. Is there a way that solve the mixed language problem ? Why the netcdf
library handles of this problem?
best regards,


Ufuk Utku Turuncoglu
Informatics Institute
Istanbul Technical University
Turkey

web: http://www.be.itu.edu.tr/~turuncu


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690