/* Kd estimation references : Jamet, C., H. Loisel, and D. Dessailly (2012), Retrieval of the spectral diffuse attenuation coefficient Kd(l) in open and coastal ocean waters using a neural network inversion, J. Geophys. Res., 117, C10023, doi:10.1029/2012JC008076. Jamet, C., H., Loisel and D., Dessailly, 2010. Estimation of the diffuse attenuation coefficient Kd(lambda) with a neural network, Proceedings of IGARSS '11 Jamet, C., H., Loisel and D., Dessailly, 2010. Empirical nonlinear determination of the diffuse attenuation coefficient Kd(490) in coastal waters from ocean color image, Proceedings of SPIE-Asia-Pacific Remote Sensing, DOI: 10.1117/12.869730 C coding version : 2012-03-15 D. Dessailly david.dessailly@univ-littoral.fr Laboratoire d'Oceanoligie et Geoscience (LOG) */ #include #include #include #include #include #include #include "neuron_difKd1cc_26.h" /* ------------------------------------------------------------------------------- Lecture des differentes Look Up Tables - LUTs reading - Files names and path define in neuron1cc.h ------------------------------------------------------------------------------- */ void neuron_lect_LUTs_dif() { FILE *fic; int i,j,poub; char *ligne=malloc(sizeof(char)*150); float fpoub; if( (fic=fopen(LUT_POIDS,"r")) == NULL) {perror(LUT_POIDS); exit(-1);} fgets(ligne,150,fic); for(i=0; i