Skip to content

Composition when variables have exact same names #283

@TeikiRaihauti

Description

@TeikiRaihauti

The transformation from Crop2ML to cs (and bioma and sirius) can have problems :

  • If in the composite XML, two variables from differents model units have the same name, the component in C# doesn't connect correctly these variables.

For example :

  • This line won't create problems
    InternalLink target="SoilTemperatureSWAT.iSurfaceSoilTemperature" source="SurfaceTemperatureSWAT.SurfaceSoilTemperature"

  • But this one will have problems (it won't create the variable in the Auxiliary class if it is considered an auxiliary)
    InternalLink target="SoilTemperatureSWAT.SurfaceSoilTemperature" source="SurfaceTemperatureSWAT.SurfaceSoilTemperature"

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