PCS Z/home/pascal/depot/hdf_tools/include/hdfatt.hERF2Z/home/pascal/depot/hdf_tools/include/hdfsds.hERF Z/home/pascal/depot/hdf_tools/include/hdfstr.hERFT/home/pascal/depot/hdf_tools/src/hdf2raw.cKrl.f/home/pascal/depot/hdf_tools/src/hdf_get_file_sds.cERF&;d/home/pascal/depot/hdf_tools/src/hdf_get_obj_att.cERF1h/home/pascal/depot/hdf_tools/src/hdf_obj_to_string.cERF<l/home/pascal/depot/hdf_tools/src/hdf_value_to_string.cERFE~T/home/pascal/depot/hdf_tools/src/ncf2hdf.cERFNT/home/pascal/depot/hdf_tools/src/raw2hdf.cERFimfhdf.hZ/home/pascal/depot/hdf_tools/include/hdfatt.h%r!UZ/home/pascal/depot/hdf_tools/include/hdfatt.h1Kjmfhdf.h(Z/home/pascal/depot/hdf_tools/include/hdfatt.h hdfattZ/home/pascal/depot/hdf_tools/include/hdfatt.h%* Cette structure dcrit de manire gnrique l'attribut d'un objet HDFdataZ/home/pascal/depot/hdf_tools/include/hdfatt.h)=)A^ Zone non type pour les valeurs de l'attribut VOIDPdimZ/home/pascal/depot/hdf_tools/include/hdfatt.h(=(@^ Nombre de valeurs de l'attribut int32nameZ/home/pascal/depot/hdf_tools/include/hdfatt.h&<&M^ Nom de l'attribut char*typZ/home/pascal/depot/hdf_tools/include/hdfatt.h'='@^ Type de donne de l'attribut int32hdf_get_obj_attZ/home/pascal/depot/hdf_tools/include/hdfatt.h,/Pd Pointeur sur la table des attributs renseigner  obj_id int32 nbatt int32attstruct hdfatt**intmfhdf.hhdfatt.hZ/home/pascal/depot/hdf_tools/include/hdfsds.h%r!Umfhdf.h(hdfatt.hQZ/home/pascal/depot/hdf_tools/include/hdfsds.h2Z/home/pascal/depot/hdf_tools/include/hdfsds.h hdfsdsZ/home/pascal/depot/hdf_tools/include/hdfsds.h&.n Cette structure dcrit de manire gnrique un SDS HDFattZ/home/pascal/depot/hdf_tools/include/hdfsds.h->-BP Table des attributs du SDS struct hdfatt*dataZ/home/pascal/depot/hdf_tools/include/hdfsds.h,6,:P Zone non type pour les donnes du SDS VOIDPdimZ/home/pascal/depot/hdf_tools/include/hdfsds.h*6*:P Valeurs des dimensions du SDS int32*nameZ/home/pascal/depot/hdf_tools/include/hdfsds.h'5'FP Nom du SDS char*nattZ/home/pascal/depot/hdf_tools/include/hdfsds.h+6+:P Nombre d'attributs du SDS int32rnkZ/home/pascal/depot/hdf_tools/include/hdfsds.h(6(9P Nombre de dimensions du SDS int32typZ/home/pascal/depot/hdf_tools/include/hdfsds.h)6)9P Type de donne du SDS int32 hdf_get_file_sdsZ/home/pascal/depot/hdf_tools/include/hdfsds.h05O` Structure contenant les SDS extraits file char*names[] char** nb_sdsint att_swint psds[]struct hdfsds**intmfhdf.hZ/home/pascal/depot/hdf_tools/include/hdfstr.h%r!Umfhdf.h(Z/home/pascal/depot/hdf_tools/include/hdfstr.h29Z/home/pascal/depot/hdf_tools/include/hdfstr.h"hdf_obj_to_stringZ/home/pascal/depot/hdf_tools/include/hdfstr.h&&9typ int32cnt int32 attdat VOIDP char*&hdf_value_to_stringZ/home/pascal/depot/hdf_tools/include/hdfstr.h%%0Kqetyp int32 attdat VOIDP char*stdio.hmfhdf.hT/home/pascal/depot/hdf_tools/src/hdf2raw.c%v GMAX_NAME_LENGTH 200T/home/pascal/depot/hdf_tools/src/hdf2raw.cmfhdf.h(stdio.h̦T/home/pascal/depot/hdf_tools/src/hdf2raw.c <T/home/pascal/depot/hdf_tools/src/hdf2raw.cmainT/home/pascal/depot/hdf_tools/src/hdf2raw.c7 @brief command line tool entry point @param argc as usual @param argv[] as usual @return 0 if all works fine, -1 eitheraargcint argv[] char**inthdf_sizeofT/home/pascal/depot/hdf_tools/src/hdf2raw.c6 @brief returns the memory size used by the given hdf data type @param data_type the type code used in HDF files (DFNT_CHAR8, DFNT_UCHAR8...) @return the size (in bytes) used by one value of this typeedata_typeconst int32 size_tmainT/home/pascal/depot/hdf_tools/src/hdf2raw.c7 @brief command line tool entry point @param argc as usual @param argv[] as usual @return 0 if all works fine, -1 eitheraargcint argv[] char**int hdfsds.hf/home/pascal/depot/hdf_tools/src/hdf_get_file_sds.c%r!Uhdfsds.hf/home/pascal/depot/hdf_tools/src/hdf_get_file_sds.cxf/home/pascal/depot/hdf_tools/src/hdf_get_file_sds.c hdf_get_file_sdsf/home/pascal/depot/hdf_tools/src/hdf_get_file_sds.c? \file hdf_get_file_sds.c \brief Extraction de SDS d'un fichier HDF Cette fonction extrait tout ou partie des SDS d'un fichier HDF, avec ou sans leurs attributs, et les retourne dans une structure. Voir hdfsds.h pour la description de cette structure. Elle retourne 0 en cas de succs, 1 en cas d'erreur HDF et 2 pour toute autre erreur ---------------------------------------------------------------------------- Spcification: int hdf_get_file_sds(char *file, char *names[], int nb_sds, int att_sw, struct hdfsds *psds[]); ---------------------------------------------------------------------------- \author SIX Bruno, CGTD ICARE \author CRI USTL, Domaine Universitaire Scientifique \version 1.0.0 \date 2006-06-09 ---------------------------------------------------------------------------- <b>Modifications, rvisions:</b> ---------------------------------------------------------------------------- file char*names[] char** nb_sdsint att_swint psds[]struct hdfsds**int hdfatt.hd/home/pascal/depot/hdf_tools/src/hdf_get_obj_att.c%r!Uhdfatt.hQd/home/pascal/depot/hdf_tools/src/hdf_get_obj_att.cP~d/home/pascal/depot/hdf_tools/src/hdf_get_obj_att.chdf_get_obj_attd/home/pascal/depot/hdf_tools/src/hdf_get_obj_att.c?e \file hdf_get_obj_att.c \brief Rcupration des attributs d'un objet HDF Cette fonction retourne une structure dcrivant les attribut d'un objet HDF. Voir hdfatt.h pour la dfinition de cette structure. Elle retourne 0 en cas de succs, 1 en cas d'erreur HDF et 2 pour toute autre erreur ---------------------------------------------------------------------------- Spcification: int hdf_get_obj_att(int32 obj_id, int32 nbatt, struct hdfatt **att); ---------------------------------------------------------------------------- \author SIX Bruno, CGTD ICARE \author CRI USTL, Domaine Universitaire Scientifique \version 1.0.0 \date 2006-06-09 ---------------------------------------------------------------------------- <b>Modifications, rvisions:</b> ---------------------------------------------------------------------------- a obj_id int32 nbatt int32attstruct hdfatt**inthdfstr.hh/home/pascal/depot/hdf_tools/src/hdf_obj_to_string.c%r!Uhdfstr.h١h/home/pascal/depot/hdf_tools/src/hdf_obj_to_string.cZh/home/pascal/depot/hdf_tools/src/hdf_obj_to_string.c"hdf_obj_to_stringh/home/pascal/depot/hdf_tools/src/hdf_obj_to_string.c<N \file hdf_obj_to_string.c \brief Reprsentation littrale d'un objet HDF. Cette fonction permet de crer une chane de caractres contenant la ou les valeurs d'un objet HDF, indpendamment du type de donnes de cet objet. ---------------------------------------------------------------------------- Spcification: char *hdf_obj_to_string (int32 typ, int32 cnt, VOIDP attdat); ---------------------------------------------------------------------------- \author SIX Bruno, CGTD ICARE \author CRI USTL, Domaine Universitaire Scientifique \version 1.0.0 \date 2006-06-09 ---------------------------------------------------------------------------- <b>Modifications, rvisions:</b> ---------------------------------------------------------------------------- typ int32cnt int32 objdat VOIDP char*hdfstr.hl/home/pascal/depot/hdf_tools/src/hdf_value_to_string.c%r!Uhdfstr.h١l/home/pascal/depot/hdf_tools/src/hdf_value_to_string.cyKl/home/pascal/depot/hdf_tools/src/hdf_value_to_string.c&hdf_value_to_stringl/home/pascal/depot/hdf_tools/src/hdf_value_to_string.c<s \file hdf_value_to_string.c \brief Reprsentation littrale d'une donne HDF. Cette fonction permet de crer une chane de caractres reprsentant la valeur d'une donne HDF, indpendamment du type de cette donne ---------------------------------------------------------------------------- Spcification: char *hdf_value_to_string (int32 typ, VOIDP attdat); ---------------------------------------------------------------------------- \author SIX Bruno, CGTD ICARE \author CRI USTL, Domaine Universitaire Scientifique \version 1.0.0 \date 2006-06-09 ---------------------------------------------------------------------------- <b>Modifications, rvisions:</b> ---------------------------------------------------------------------------- typ int32dat VOIDP char*stdio.hhdfstr.hT/home/pascal/depot/hdf_tools/src/ncf2hdf.c%r!Uhdfstr.h١T/home/pascal/depot/hdf_tools/src/ncf2hdf.c)!֩stdio.h̦T/home/pascal/depot/hdf_tools/src/ncf2hdf.cdimensionT/home/pascal/depot/hdf_tools/src/ncf2hdf.cNS Structure d'information sur les dimensions du fichier d'entre idT/home/pascal/depot/hdf_tools/src/ncf2hdf.cODOFl Identificateur HDF de la dimension int32nameT/home/pascal/depot/hdf_tools/src/ncf2hdf.cRCRXl Nom de la dimension char*sizT/home/pascal/depot/hdf_tools/src/ncf2hdf.cPDPGl Taille de la dimension int32usedT/home/pascal/depot/hdf_tools/src/ncf2hdf.cQBQFl Indique si la dimension concerne un des SDS requis intmainT/home/pascal/depot/hdf_tools/src/ncf2hdf.ce;argcintargv char**att_managerT/home/pascal/depot/hdf_tools/src/ncf2hdf.cZ} Report des attribut de l'ancien objet du fichier NetCDF vers l'objet correspondant du nouveau fichier HDF et affichage ventuel de quelques informations sur ces attributs. Valeur de retour : 0 si OK, -1 si erreur HDF, -2 si erreur standard. fr_id int32 to_id int32 nbatt int32verbintintdecodeargsT/home/pascal/depot/hdf_tools/src/ncf2hdf.c~ Traitement des arguments de la commande Valeur de retour : 1 si OK, 0 sinonargcintargv char**intmainT/home/pascal/depot/hdf_tools/src/ncf2hdf.ce;argcintargv char**searchdimT/home/pascal/depot/hdf_tools/src/ncf2hdf.cJY Recherche de l'identificateur HDF d'une dimension dans la table d'information sur les dimensions. Valeur de retour : indice de la dimension dans la table, ou -1 si la dimension n'a pas t trouve. dimid int32 nbdimint dims[]$struct dimension**intsearchsdsT/home/pascal/depot/hdf_tools/src/ncf2hdf.c<I, Recherche du nom d'un SDS dans la liste des SDS requis pour extraction. Valeur de retour : 1 si le nom est trouv, 0 si la liste est vide, -1 sinon. sdsnam char*int hdfnamT/home/pascal/depot/hdf_tools/src/ncf2hdf.c^>^El Traitement des SDS "dimension" = 0/1 (option -d) char* ncfnamT/home/pascal/depot/hdf_tools/src/ncf2hdf.c]>]El Traitement des SDS "dimension" = 0/1 (option -d) char* nodimT/home/pascal/depot/hdf_tools/src/ncf2hdf.cZ>ZI Options d'excution du programme ( Mode "verbeux" = 0/1 )int nslctT/home/pascal/depot/hdf_tools/src/ncf2hdf.cY>YI Options d'excution du programme ( Mode "verbeux" = 0/1 )intslctsdsT/home/pascal/depot/hdf_tools/src/ncf2hdf.c_>_Gl Traitement des SDS "dimension" = 0/1 (option -d) char**suffixesT/home/pascal/depot/hdf_tools/src/ncf2hdf.c`>a>l Traitement des SDS "dimension" = 0/1 (option -d) char**verboseT/home/pascal/depot/hdf_tools/src/ncf2hdf.cX>XI Options d'excution du programme ( Mode "verbeux" = 0/1 )intstdio.hmfhdf.hT/home/pascal/depot/hdf_tools/src/raw2hdf.c%r!U(_GMAXNAMELENGTH 200T/home/pascal/depot/hdf_tools/src/raw2hdf.cmfhdf.h(T/home/pascal/depot/hdf_tools/src/raw2hdf.c<stdio.h̦T/home/pascal/depot/hdf_tools/src/raw2hdf.cmainT/home/pascal/depot/hdf_tools/src/raw2hdf.cF @brief command line tool entry point @param argc as usual @param argv[] as usual @return 0 if all works fine, -1 eitherargcint argv[] char**intget_num_typeT/home/pascal/depot/hdf_tools/src/raw2hdf.c'E @brief retrieve an HDF type code using a string representatin of it @param typename the type given in a string ("char8", "float64"...) @return the corresponding HDF type code (DFNT_CHAR8, DFNT_FLOAT64...) char*intmainT/home/pascal/depot/hdf_tools/src/raw2hdf.cF @brief command line tool entry point @param argc as usual @param argv[] as usual @return 0 if all works fine, -1 eitherargcint argv[] char**int SDST/home/pascal/depot/hdf_tools/src/raw2hdf.c