Skip to content

Data Misalignment Issue when Importing Multiple Elements from CSV File #777

@jkmusyoka

Description

@jkmusyoka

We recently encountered a serious issue while importing daily precipitation, maximum temperature (Tmax), and minimum temperature (Tmin) data from csv file into Climsoft during a project in Zambia.

The problem occurs when one or more of the first two elements in the dataset are missing. In these cases, values from subsequent columns are shifted into preceding columns, resulting in misaligned data. For example:

  • If the Tmax value is missing and is the first element in the dataframe, the imported data becomes distorted: Tmin values are placed in the Tmax column, and rainfall values appear in the Tmin column.
  • If both Tmax and Tmin values are missing, rainfall values are incorrectly imported into the Tmax column.

This occurs even when the column headers are correctly loaded in Climsoft, leading to incorrect data in the initial table.

I hope this is clear. Otherwise let me know so I can provide more context.

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