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

Restore M11 and M12 encoding's attributes: scale_factor and add_offset for V2 S1 granules #18

Open mliukis opened 11 months ago

mliukis commented 11 months ago

When saving corrected or cropped S1 granules to NetCDF file, scale_factor and add_offset attributes were lost when storing values as short datatype (the attributes belong to the encoding settings and had to be set explicitly):

jhkennedy commented 2 months ago

@mliukis for new velocity granules going forward, this should be fixed in ASFHyP3/hyp3-autorift#282