Skip to content

Commit

Permalink
Merge pull request #87 from jhkennedy/s1-metadata
Browse files Browse the repository at this point in the history
Update v.description for S1 data
  • Loading branch information
jhkennedy authored Aug 28, 2023
2 parents 49cccf6 + 2cf7fc3 commit 19cc95b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions netcdf_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,10 +629,7 @@ def netCDF_packaging(VX, VY, DX, DY, INTERPMASK, CHIPSIZEX, CHIPSIZEY, SSM, SSM1
var = nc_outfile.createVariable('v', np.dtype('int16'), ('y', 'x'), fill_value=NoDataValue,
zlib=True, complevel=2, shuffle=True, chunksizes=ChunkSize)
var.setncattr('standard_name', 'land_ice_surface_velocity')
if pair_type == 'radar':
var.setncattr('description', 'velocity magnitude from radar range and azimuth measurements')
else:
var.setncattr('description', 'velocity magnitude')
var.setncattr('description', 'velocity magnitude')
var.setncattr('units', 'meter/year')
var.setncattr('grid_mapping', mapping_var_name)

Expand Down

0 comments on commit 19cc95b

Please sign in to comment.