export 0's in metiers that do not exist in strategies
Bonjour à touts: I have just noticed from my resultsExport files, that isis-fish-4.4.6.1 assign a zero value instead of dropping values where strategies do not match metiers. Attached is my database file and an example export. Bon Cordialement, Stéphanie
Hi Steffie The export file CapturesPoidsStrategies.csv contains the export of ISIS-matrix MatrixCatchWeightPerStrategyMetPerZonePop looping over all its dimension. This matrix has 6 dimensions C[timeStep,Pop,strategie, metier,popGroup,zone]. This matrix is set to 0 and filled with catch during simulation. Therefore, its value is equal to 0 if the metier does not belong to the strategie, if there is no catch of the groupPop of the Pop in the zone by the metier of the strategie. Everything is correct for me. a+ Steph
_______________________________________________ Isis-fish-users mailing list Isis-fish-users@list.isis-fish.org http://list.isis-fish.org/cgi-bin/mailman/listinfo/isis-fish-users
-- ...................................................................... Stephanie MAHEVAS (stephanie.mahevas@ifremer.fr) IFREMER/EMH (Ecologie et Modèles pour l'Halieutique) https://annuaire.ifremer.fr/cv/16343/ Tel: (33) 2 40 37 41 81 - 06 75 83 59 33 o \ o / _ o __| \ / |__ o _ \ o / o /|\ | /\ ___\o \o | o/ o/__ /\ | /|\ / \ / \ | \ /) | ( \ /o\ / ) | (\ / | / \ / \ ......................................................................
I tend to disagree I remembered that we used "matrices creuses" to limit the size of the files. So we should not have lines for couples metiers x strategies that are zeros all the more if they do not exist in the DB ... Eric ? Le 24/11/2021 à 15:30, Stephanie MAHEVAS a écrit :
Hi Steffie
The export file CapturesPoidsStrategies.csv contains the export of ISIS-matrix MatrixCatchWeightPerStrategyMetPerZonePop looping over all its dimension. This matrix has 6 dimensions C[timeStep,Pop,strategie, metier,popGroup,zone]. This matrix is set to 0 and filled with catch during simulation. Therefore, its value is equal to 0 if the metier does not belong to the strategie, if there is no catch of the groupPop of the Pop in the zone by the metier of the strategie.
Everything is correct for me.
a+ Steph
_______________________________________________ Isis-fish-users mailing list Isis-fish-users@list.isis-fish.org http://list.isis-fish.org/cgi-bin/mailman/listinfo/isis-fish-users
-- NB : Please note that I do not work on Wednesdays Sigrid LEHUTA ~ ><> ~ Ecologie et Modèles pour l'Halieutique IFREMER Nantes Rue de l'Ile d'Yeu - BP 21105, 44311 Nantes Cedex 03, France Tél : 02 40 37 42 38 (N° interne : 8238) Membre de l'Association Française d'Halieutique https://www.association-francaise-halieutique.fr/
Le 24/11/2021 à 23:27, Sigrid LEHUTA a écrit :
I tend to disagree I remembered that we used "matrices creuses" to limit the size of the files. So we should not have lines for couples metiers x strategies that are zeros all the more if they do not exist in the DB ... Eric ?
"matrice creuses" are used for storage during simulation only. When exporting these matrix into CSV files, 0 datas are added for missing values. -- Éric Chatellier - www.codelutin.com - 02.40.50.29.28
participants (4)
-
Eric Chatellier -
Sigrid LEHUTA -
Stephanie MAHEVAS -
Stéphanie Hopkins