Skip to content

Commit

Permalink
Fix CF standard name for location test
Browse files Browse the repository at this point in the history
  • Loading branch information
benjwadams authored Nov 27, 2024
1 parent 9ec67c4 commit 912a258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glider_qc/glider_qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def create_location_flag_variable(self, ndim, flag):
ncvar = self.ncfile.createVariable(ncvar_name , np.int8, ndim, fill_value=np.int32(2))
ncvar[:] = flag
ncvar.units = '1'
ncvar.standard_name = 'location_quality_flag'
ncvar.standard_name = 'location_test_quality_flag'
ncvar.long_name = 'QARTOD Location Flag for the profile_(lat,lon) variables'
ncvar.flag_values = np.array([1, 2, 3, 4, 9], dtype=np.int8)
ncvar.valid_min = np.int8(1)
Expand Down

0 comments on commit 912a258

Please sign in to comment.