Skip to content

Corrupted NEWSplus file leads to two rivers being dropped by mapriv_combine script #199

@uwagura

Description

@uwagura

The script mapriv_combine_NWA12_GLOFAS.m reads a csv file stored in /archive/cas/Regional_MOM6/NWA12/NWA12_ExtraRivers/stations_extra_NWA12.csv . However, row 9 of this csv seems to missing latitude data:

8 San Juan,NaN,-83.75,10.75,2045,1964,1870,36.3,20.8,31.9,1.89,0.56,1.91,199
9 Grande Matagalpa,NaN,-83.75,1135,2000,1900,22.9,20.1,35.6,0.74,0.50,2.22,447
10 Coco,NaN,-83.25,14.75,1066,2000,1900,9.6,19.7,34.5,0.46,0.48,2.11,309

which leads to it's flow data being read as lat data, meaning the river is ignored.

Likewise, row 23 has an extra 98 which gets interpreted as a lon value, leading this river to be ignored as well

23 basin1281_Haiti_NW,NaN,98,-72.75,19.75,98,2200,2100,104.4,22.6,32.6,1.72,0.62,1.93,284.9

Neither issue seems huge, just documenting it here for future reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions