when m>9, the resultant patch.input has an empty row for iipe (.i.e. iipe(:, j)=0). So the HYCOM run stops with an error : patch.input has an empty row. Since the North pole is moved to the land in the model, there are no water pionts, and only land points near j=jdm. It should be that too many land points near j=jdm leads to an empty row for iipe. Could you please tell me how to solve this problem? Addtionally, how to set up n and m make the calculation more efficient?
e.g. for m=10, patch.input is as follows, where iipe(:,10)=0
npes npe mpe idm jdm ibig jbig nreg minsea maxsea avesea
96 12 10 4500 3200 375 320 2 1031 120000 83617
ispt( 1) = 0 0 0 0 0 1954 2251 2626
3001 3376 3751 4126
iipe( 1) = 0 0 0 0 0 297 375 375
375 375 375 91
ispt( 2) = 1 376 751 1126 1501 1876 2251 2626
3001 3376 3751 4126
iipe( 2) = 375 375 375 375 375 375 375 375
375 375 375 375
ispt( 3) = 1 376 751 1126 1501 1876 2251 2626
3001 3376 3751 4126
iipe( 3) = 375 375 375 375 375 375 375 375
375 375 375 375
ispt( 4) = 1 376 751 1126 1501 1876 2251 2626
3001 3376 3751 4126
iipe( 4) = 375 375 375 375 375 375 375 375
375 375 375 375
ispt( 5) = 113 376 751 1126 1501 1886 2251 2626
3001 3376 3751 4126
iipe( 5) = 263 375 375 375 354 365 375 375
375 375 375 336
ispt( 6) = 155 376 751 1126 1501 1876 2251 2626
3001 3376 3751 4126
iipe( 6) = 221 375 375 375 375 375 375 375
375 375 375 174
ispt( 7) = 1 376 751 1126 1501 1876 2251 2626
3001 3376 3751 4126
iipe( 7) = 375 375 375 375 375 375 375 375
375 375 375 375
ispt( 8) = 23 376 785 1126 1501 1876 2251 2626
3001 3376 3751 4126
iipe( 8) = 353 288 341 375 375 375 375 375
375 375 375 180
ispt( 9) = 0 0 0 0 0 1898 2522 2955
3001 3376 0 0
iipe( 9) = 0 0 0 0 0 181 93 46
375 375 0 0
ispt( 10) = 0 0 0 0 0 0 0 0
0 0 0 0
iipe( 10) = 0 0 0 0 0 0 0 0
0 0 0 0