Bonjour je souhaite faire une calibration sur plusieurs annees. Je voudrais etre sure que j'utilise correctement sum.OverDim(). Est-ce que L = L.sumOverDim(0,12) permet d'avoir un cumul de L sur la dimension 0 de 0 à 11 puis de 12 à 23, ect... je mets le script ci-dessous issu de Calibration.java écrit par Sigrid (je crois?). merci STeph MatrixND L2 = result.getMatrix(param_Population, ResultName.MATRIX_CATCH_WEIGHT_PER_STRATEGY_MET_PER_ZONE_POP); /////*** If some strategies, metiers or areas must not be included in the cumulated catches see below else put "//" at the beginning of line 297 and replace "L2" by "L" at line 289 /////*** the strategies or so to exclude must be at the begining or end of the list you enter in the parameters interface /////*** fill the line MatrixND L = L2.getSubMatrix(a,b,c).copy(); as follow : /////*** a = 1 if you want to exclude strategies, 2 if metiers and 4 if areas /////*** b = indice of the first object considered /////*** c = number of object to keep after b, b included MatrixND L = L2.getSubMatrix(1,2,4).copy(); // for instance : keep strategies 2,3,4,5 // si tu veux toutes les strategies: // MatrixND L = L2; ///*** if observations are cumulated over quarter a = 3, over year a = 12, else put "//" at the beginning of the following line // L = L.sumOverDim(0,a); L = L.sumOverDim(0,12);//sum over dates L = L.sumOverDim(1);// sum over strategies L = L.sumOverDim(2);// sum over metiers L = L.sumOverDim(4);// sum over zones L = L.reduce(); -- ...................................................................... Stephanie MAHEVAS (Stephanie.Mahevas@ifremer.fr) IFREMER/EMH (Ecologie et Modèles pour l'Halieutique) Tel: (33) 2 40 37 41 81 Fax: (33) 2 40 37 40 75 o \ o / _ o __| \ / |__ o _ \ o / o /|\ | /\ ___\o \o | o/ o/__ /\ | /|\ / \ / \ | \ /) | ( \ /o\ / ) | (\ / | / \ / \ ......................................................................