I just started saving the information that is printed to the screen while running Atlantis and am checking this files for potential misspecifications.
I am getting:
Length of attribute pFCPIN (52) in file Bio391ES3JK6.6702_2025_02_13_03.prm is not the required length 53
I have 53 groups so it looks like I am just short one, but the documentation says:
pFCXXX
A vector of values (0 and 1) identifying which of the fisheries catches are available to each catch eating species identified as isCatchGrazer. The vector should be as long as there are fisheries in the fisheries.csv file (assumes the same order as given in the fisheries.csv file).
Presumably this is an error in the documentation as Cecilie pointed out that the code in ConvertAtlantis/atBioltoXML.c says:
void catchGrazersXML(MSEBoxModel *bm, char *fileName, xmlNodePtr parent, char *str, char *valueStr) {
1884
1885 char *speciesStr;
1886 int speciesIndex;
1887
1888 speciesStr = str + strlen("pFC");
1889
1890 speciesIndex = Util_Get_FG_Index_From_Token(bm, speciesStr, fileName, str, TRUE);
1891 Util_XML_Set_Node_Value(ATLANTIS_GROUP_ATTRIBUTE, parent, FunctGroupArray[speciesIndex].groupCode, valueStr);
1892 }
It would be helpful if someone could please confirm that the manual has an error.
Thanks