nasa-jpl / its_live_production

A NASA MEaSUREs project to provide automated, low latency, global glacier flow and elevation change datasets
MIT License
17 stars 6 forks source link

Add new binary arrays for orbit directions to the datacubes #27

Open mliukis opened 3 months ago

mliukis commented 3 months ago

Using granules img_pair_info variable, add binary array for 'ascending/descending' to the corresponding layers of the datacubes.

Call new variables:

ascending1 = [true/false]
ascending2 = [true/false]
mliukis commented 2 months ago

Only S1 granules have orbit direction information available: img_pair_info.flight_direction_img[12]

alex-s-gardner commented 2 months ago

Only S1 granules have orbit direction information available: img_pair_info.flight_direction_img[12]

This is OK, I don't think we need a/d for optical sensors

mliukis commented 2 months ago

@alex-s-gardner should we keep the new data variables names consistent with other granule names such as img_pair_info.flightdirectionimg1? So make it:

ascending_img1 = [true/false]
ascending_img2 = [true/false]

and have values set to missing_value = 255 for other than S1 missions?