Commit e054f89c authored by PIOLLE's avatar PIOLLE

fixed splitted time in GHRSST output format

parent 2470b768
This diff is collapsed.
......@@ -47,3 +47,8 @@ class NCDataset(Dataset):
dataset.attrs['date_created'] = creation_date
dataset.attrs['date_modified'] = creation_date
return dataset
def get_collection_id(self) -> str:
"""return the identifier of the product collection"""
if 'id' in self.attrs['id']:
return self.attrs['id']
\ No newline at end of file
......@@ -171,7 +171,9 @@ fields:
valid_min: -300
valid_max: 4500
encoding:
lat:
dtype: float32
least_significant_digit: 3
......@@ -181,7 +183,7 @@ encoding:
least_significant_digit: 3
sea_surface_temperature:
dtype: int32
dtype: int16
_FillValue: -32768
scale_factor: 0.01
add_offset: 273.15
......@@ -190,7 +192,7 @@ encoding:
_FillValue: -2147483648
add_offset: 0
scale_factor: 1
dtype: int64
dtype: int32
solar_zenith_angle:
_FillValue: -128
......@@ -214,14 +216,14 @@ encoding:
scale_factor: 0.02
or_latitude:
dtype: int32
dtype: int16
_FillValue: -32768
add_offset: 0.
scale_factor: 0.01
units: degrees_north
or_longitude:
dtype: int32
dtype: int16
_FillValue: -32768
add_offset: 0.
scale_factor: 0.01
......@@ -239,7 +241,7 @@ encoding:
scale_factor: 1.
adjusted_sea_surface_temperature:
dtype: int32
dtype: int16
_FillValue: -32768
add_offset: 273.15
scale_factor: 0.01
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment