Skip to content

small inconsistency in csv output #110

Description

@brancomat

Starting from a grib file I'm creating a csv output for zonal averages with this command:

vg6d_getpoint --trans-type=polyinter --sub-type=average --coord-format=shp --coord-file=${macroaree} --output-format=native ${grib} - | v7d_transform --input-format=native --output-format=csv --csv-header=1 --csv-loop=time,timerange,level,ana,network,var --csv-column=time,timerange,level,ana,network,var,value - ${grib%%grib}macro.csv"

The resulting csv output starts this way:

Date,Time range,P1,P2,Level1,L1,Level2,L2,Longitude,Latitude,Report,Variable,Value
,,,,,,,,12.05236,44.02745,generic,B01192,1
2024-01-23 00:00:00,1,86400,86400,1,,,,12.05236,44.02745,generic,B13205,0.175292976E-01
2024-01-23 00:00:00,1,86400,86400,1,,,,12.22835,44.11616,generic,B01192,2
2024-01-23 00:00:00,1,86400,86400,1,,,,12.22835,44.11616,generic,B13205,0.00000000
2024-01-23 00:00:00,1,86400,86400,1,,,,11.32422,44.36250,generic,B01192,3
2024-01-23 00:00:00,1,86400,86400,1,,,,11.32422,44.36250,generic,B13205,0.00000000

In short the first occurence of B01192 is missing a number of fields. While I'm aware it's not strictly necessary since it's basically an attribute of the subsequent B123205 I was wondering if this behaviour is to be considered normal or something that can (or should) be fixed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions