Skip to content

Simplifying hdfeos5_or_csv_2json_mbtiles.py #7

Description

@falkamelung

Hi @epehlivanli

We need to simplify the CSV portion of this script. It should only convert to json and mbtiles but not modify or add missing attributes. We should move that functionality into a new new script add_attributes_2_sarvey_csv_file.py and add this to the sarvey2insarmaps.py pipeline prior to hdfeos5_or_csv_2json_mbtiles.py. The CSV file should have the attributes as commented lines to be interpreted by our script:

# platform=S1
# relative_orbit=36
# platform=S1
# collection=geocorr
point_ID, latitude,longitude,displacement
333, 25.76,-80.19,12.3

That will make it easy to test/implement the point_ID features and other new functionality. And the we can retire the original script.

We also should commit example files to this repo for easy testing. I will start with that.

Activity

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

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