input4mips_validation.database.raw#
input4mips_validation.database.raw
#
Raw database definition
This only contains the fields, no methods.
For a more useful class, see
Input4MIPsDatabaseEntryFile.
Input4MIPsDatabaseEntryFileRaw
#
Raw data model for a file entry in the input4MIPs database
Source code in src/input4mips_validation/database/raw.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 | |
Conventions: str
instance-attribute
#
CF conventions used in the file
activity_id: str
instance-attribute
#
Activity ID that applies to the file
comment: Union[str, None] = None
class-attribute
instance-attribute
#
Comments that apply to the file
These are the comments included in the file itself.
As a result, they can only apply to the file at the time of writing.
For comments made about the file after the fact,
e.g. reasons for deprecation,
see comment_post_publication.
comment_post_publication: Union[str, None] = None
class-attribute
instance-attribute
#
Comments that apply to the file but are added after its publication
These comments can be added to the file after it has been published.
For example, e.g. reasons for deprecating the file.
For the comments that were made at the time of writing the file, see comment.
contact: str
instance-attribute
#
Email addresses to contact in case of questions about the file
creation_date: str
instance-attribute
#
Date the file was created
data_node: Union[str, None] = None
class-attribute
instance-attribute
#
Data node on which this file is stored on ESGF
dataset_category: str
instance-attribute
#
The file's category
datetime_end: Union[str, None]
instance-attribute
#
The file's end time
If the file has no time axis or is a fixed file, this should be None
datetime_start: Union[str, None]
instance-attribute
#
The file's start time
If the file has no time axis or is a fixed file, this should be None
doi: Union[str, None] = None
class-attribute
instance-attribute
#
The digital object identifier (DOI) associated with the file.
esgf_dataset_master_id: str
instance-attribute
#
Master ID as used by the ESGF
This applies to the dataset level, not the file level. However, it is still useful to capture.
filepath: str
instance-attribute
#
Full path in which the file is written
frequency: str
instance-attribute
#
Frequency of the data in the file
further_info_url: str
instance-attribute
#
URL where further information about the file/data in the file can be found
grid: Union[str, None] = None
class-attribute
instance-attribute
#
Long-form description of the grid referred to by grid_label
grid_label: str = field()
class-attribute
instance-attribute
#
Label that identfies the file's grid
[TODO: cross-ref to the CVs]
institution: Union[str, None] = None
class-attribute
instance-attribute
#
Long-form description of the institute referred to by institution_id
institution_id: str
instance-attribute
#
ID of the institute that created the file
latest: Union[bool, None] = None
class-attribute
instance-attribute
#
Is this data set still valid?
A value of None indicates that the file has not been published yet.
A value of False indicates that this file has been deprecated.
See comment_post_publication for an explanation of why.
license: str
instance-attribute
#
License information for the dataset
license_id: Union[str, None] = None
class-attribute
instance-attribute
#
ID of the license that applies to this dataset
mip_era: str
instance-attribute
#
The MIP era to which this file belong
nominal_resolution: str
instance-attribute
#
Nominal resolution of the data in the file
product: Union[str, None] = None
class-attribute
instance-attribute
#
The kind of data in the file
publication_status: str = 'in_publishing_queue'
class-attribute
instance-attribute
#
The file's publication status
realm: str
instance-attribute
#
The realm of the data in the file
references: Union[str, None] = None
class-attribute
instance-attribute
#
References relevant to the file
region: Union[str, None] = None
class-attribute
instance-attribute
#
The region of the data in the file
replica: Union[bool, None] = None
class-attribute
instance-attribute
#
Is this dataset a replica on its ESGF node or the 'original'
sha256: str
instance-attribute
#
sha256 hash of the file
source: Union[str, None] = None
class-attribute
instance-attribute
#
Long-form description of the source referred to by source_id
source_id: str
instance-attribute
#
The ID of the file's source
source_version: str
instance-attribute
#
The version of the file, as defined by the source
target_mip: str
instance-attribute
#
The MIP that this file targets
time_range: Union[str, None]
instance-attribute
#
The file's time range
If the file has no time axis or is a fixed file, this should be None
timestamp: Union[str, None] = None
class-attribute
instance-attribute
#
Timestamp of the last modification to the file's ESGF entry
This is scraped from the ESGF.
tracking_id: str
instance-attribute
#
validated_input4mips: Union[bool, None] = None
class-attribute
instance-attribute
#
Has this file been validated by the input4MIPs team?
If None, the file has not been validated yet.
If True, the file passed valdiation.
If False, the file failed validation.
variable_id: str
instance-attribute
#
The ID of the variable contained in the file
version: str
instance-attribute
#
The version of the file, as defined by the DRS
The ESGF also has a version attribute for each file entry, which is different again.
xlink: Union[tuple[str], None] = None
class-attribute
instance-attribute
#
Cross-link to more information about the file (DOI?)