Models¶
Models for the mde-thredds app.
Models:
|
An dataset representing the aggregation of multiple files. |
|
Apply configrations of connection to a thredds server. |
|
An entry in a thredds catalog. |
|
A catalog within the model data explorer. |
|
A datasetscan creating multiple datasets with a single entry. |
|
Base class for an item for an aggregation dataset. |
|
An explicit location of a netcdf file to be used in an aggregation. |
|
A scan to add multiple aggregations. |
|
A dataset representing one single file. |
|
A catalog for a thredds server. |
|
A representation of a thredds server. |
|
Configrations of connection to a thredds server. |
|
A representation of a thredds server wmsCongig. |
|
Base class for an item for an WMSConfig. |
|
WMSOverride parameters in WMSConfig. |
|
StandardName parameters in WMSConfig.. |
|
WMSVariable parameters in WMSConfig. |
Functions:
|
|
|
|
|
|
|
|
|
Overwrite the xml field. |
|
Overwrite the xml field. |
|
Overwrite the xml field. |
|
Overwrite the xml field. |
|
- class mde_thredds.models.AggregationDataset(*args, **kwargs)¶
Bases:
BaseDataset
An dataset representing the aggregation of multiple files.
Classes:
AggregationType
(value)The type of aggregations.
Miscellaneous:
Model Fields:
A wrapper for a deferred-loading field.
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Methods:
get_aggregation_type_display
(*[, field])get_data_type_display
(*[, field])Render this dataset as dataset XML tag.
Attributes:
Accessor to the related objects manager on the reverse side of a many-to-one relation.
Accessor to the related objects manager on the reverse side of a many-to-one relation.
The urlPath attribute for the catalog.
- class AggregationType(value)¶
Bases:
TextChoices
The type of aggregations.
Attributes:
- join_existing = 'JoinExisting'¶
- join_new = 'JoinNew'¶
- union = 'union'¶
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- aggregation_type¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- catalog¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- dimension_name¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_aggregation_type_display(*, field=<django.db.models.fields.CharField: aggregation_type>)¶
- get_data_type_display(*, field=<django.db.models.fields.CharField: data_type>)¶
- netcdffile_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- netcdfscan_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- objects = <django.db.models.manager.Manager object>¶
- url_name¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class mde_thredds.models.ApplySetting(*args, **kwargs)¶
Bases:
TDSSetting
Apply configrations of connection to a thredds server.
Miscellaneous:
Model Fields:
A wrapper for a deferred-loading field.
Accessor to the related object on the forward side of a one-to-one relation.
Attributes:
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- tdsserver¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- class mde_thredds.models.BaseDataset(*args, **kwargs)¶
Bases:
Model
An entry in a thredds catalog.
Classes:
DataType
(value)Available data types for datasets.
Meta
()Model Fields:
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Attributes:
Methods:
get_data_type_display
(*[, field])- class DataType(value)¶
Bases:
TextChoices
Available data types for datasets.
Attributes:
- grid = 'Grid'¶
- image = 'Image'¶
- point = 'Point'¶
- radial = 'Radial'¶
- station = 'Station'¶
- swath = 'Swath'¶
- trajectory = 'Trajectory'¶
- catalog¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- catalog_id¶
- data_type¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_data_type_display(*, field=<django.db.models.fields.CharField: data_type>)¶
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- name¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- xml¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class mde_thredds.models.DatasetCatalog(*args, **kwargs)¶
Bases:
TDSCatalog
A catalog within the model data explorer.
Miscellaneous:
Model Fields:
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
Accessor to the related object on the forward side of a one-to-one relation.
Attributes:
- exception DoesNotExist¶
Bases:
DoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- dataset¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- dataset_id¶
- tdscatalog_ptr¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- tdscatalog_ptr_id¶
- class mde_thredds.models.DatasetScan(*args, **kwargs)¶
Bases:
BaseDataset
A datasetscan creating multiple datasets with a single entry.
Miscellaneous:
Model Fields:
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Methods:
get_data_type_display
(*[, field])Render this dataset as datasetScan XML tag.
Attributes:
The
location
relative to the catalog root location.- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- catalog¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- get_data_type_display(*, field=<django.db.models.fields.CharField: data_type>)¶
- location¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- path¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class mde_thredds.models.NetCDFBase(*args, **kwargs)¶
Bases:
Model
Base class for an item for an aggregation dataset.
Classes:
Meta
()Model Fields:
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
A wrapper for a deferred-loading field.
Attributes:
The
location
relative to the catalog root location.- aggregation¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- aggregation_id¶
- location¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class mde_thredds.models.NetCDFFile(*args, **kwargs)¶
Bases:
NetCDFBase
An explicit location of a netcdf file to be used in an aggregation.
Miscellaneous:
Model Fields:
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
A wrapper for a deferred-loading field.
Attributes:
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- aggregation¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- class mde_thredds.models.NetCDFScan(*args, **kwargs)¶
Bases:
NetCDFBase
A scan to add multiple aggregations.
Miscellaneous:
Model Fields:
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Attributes:
The
location
relative to the catalog root location.- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- aggregation¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- regexp¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- subdirs¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class mde_thredds.models.SimpleDataset(*args, **kwargs)¶
Bases:
BaseDataset
A dataset representing one single file.
Miscellaneous:
Model Fields:
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
A wrapper for a deferred-loading field.
Methods:
get_data_type_display
(*[, field])Render this dataset as dataset XML tag.
Attributes:
The
location
relative to the catalog root location.The urlPath attribute for the catalog.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- catalog¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- get_data_type_display(*, field=<django.db.models.fields.CharField: data_type>)¶
- location¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- property url_path: str¶
The urlPath attribute for the catalog.
The urlPath attribute is the
relative_path
of the dataset prepended with the catalogname
.
- class mde_thredds.models.TDSCatalog(*args, **kwargs)¶
Bases:
Model
A catalog for a thredds server.
Miscellaneous:
Attributes:
Accessor to the related objects manager on the reverse side of a many-to-one relation.
Accessor to the related object on the reverse side of a one-to-one relation.
Accessor to the related objects manager on the reverse side of a many-to-one relation.
Accessor to the related objects manager on the reverse side of a many-to-one relation.
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
Path to the xml file of the catalog.
Model Fields:
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Methods:
Render the catalog as xml.
Write the xml file to disk.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- aggregationdataset_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- cdmremote¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- dap4¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- datasetcatalog¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- datasetscan_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- http¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- iso¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- name¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ncml¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ncssGrid¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ncssPoint¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- odap¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- simpledataset_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- tds5¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- tdsserver_set: models.manager.RelatedManager[TDSServer]¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- uddc¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- wcs¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- wms¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- xml¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class mde_thredds.models.TDSServer(*args, **kwargs)¶
Bases:
Model
A representation of a thredds server.
Classes:
CorsMethods
(value)Methods that are avaialable for CORS settings.
Miscellaneous:
Attributes:
Accessor to the related object on the reverse side of a one-to-one relation.
Settings of CORS
The URL where this THREDDS-Server can be accessed.
Path to the app_setting file of the mde_thredds.
The URL where this THREDDS-Server can be publicly accessed.
Model Fields:
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Settings of NetcdfSubsetService
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Settings of Opendap
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Settings of WCS
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Settings of WMS
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Settings of NCISO
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Methods:
get_cors_allowed_methods_display
(*[, field])Render the catalog as xml.
Render the app_setting.
Restart the thredds server via the tomcat manager.
Write the app_setting file to disk.
Write the xml file to disk.
- class CorsMethods(value)¶
Bases:
TextChoices
Methods that are avaialable for CORS settings.
Attributes:
- get = 'GET'¶
- post = 'POST'¶
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- applysetting¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- catalogs¶
Settings of CORS
- cors_activation¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- cors_allowed_headers¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- cors_allowed_methods¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- cors_allowed_origin¶
Settings of NetcdfSubsetService
- cors_maxAge¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_cors_allowed_methods_display(*, field=<django.db.models.fields.CharField: cors_allowed_methods>)¶
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- iso_allow¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- name¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ncml_allow¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- netcdf_subset_service_activation¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- netcdfsubsetservice_maxAge¶
Settings of Opendap
- netcdfsubsetservice_scour¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- opendap_activation¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- opendap_ascLimit¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- opendap_binLimit¶
Settings of WCS
- restart_server()¶
Restart the thredds server via the tomcat manager.
- uddc_allow¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- wcs_activation¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- wcs_allowRemote¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- wcs_maxAge¶
Settings of WMS
- wcs_scour¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- wms_activation¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- wms_allowRemote¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- wms_max_image_height¶
Settings of NCISO
- wms_max_image_width¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- xml¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class mde_thredds.models.TDSSetting(*args, **kwargs)¶
Bases:
Model
Configrations of connection to a thredds server.
Classes:
Meta
()Model Fields:
Accessor to the related object on the forward side of a one-to-one relation.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Attributes:
- tdsserver¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- tdsserver_id¶
- thredds_content_dir¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- thredds_data_dir¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- tomcat_manager_password¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- tomcat_manager_username¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- tomcat_url_port¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class mde_thredds.models.WMSConfig(*args, **kwargs)¶
Bases:
Model
A representation of a thredds server wmsCongig.
Classes:
ColorBar
(value)An enumeration.
Miscellaneous:
Model Fields:
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Methods:
get_defaults_colorbar_display
(*[, field])Render the catalog as xml.
Write the xml file to disk.
Attributes:
Accessor to the related objects manager on the reverse side of a many-to-one relation.
Accessor to the related objects manager on the reverse side of a many-to-one relation.
Accessor to the related objects manager on the reverse side of a many-to-one relation.
- class ColorBar(value)¶
Bases:
TextChoices
An enumeration.
Attributes:
- alg = 'alg'¶
- alg2 = 'alg2'¶
- ashpalette = 'ashpalette'¶
- ferret = 'ferret'¶
- greyscale = 'greyscale'¶
- metnoprecipitation = 'metnoprecipitation'¶
- metnoredblue = 'metnoredblue'¶
- ncview = 'ncview'¶
- occam = 'occam'¶
- occam_pastel = 'occam_pastel-30'¶
- precipitation = 'precipitation'¶
- rainbow = 'rainbow'¶
- redblue = 'redblue'¶
- sst_36 = 'sst_36'¶
- uemep_aqi_palette = 'uemep_aqi_palette'¶
- uemep_no2_palette = 'uemep_no2_palette'¶
- uemep_o3_palette = 'uemep_o3_palette'¶
- uemep_pm10_day_palette = 'uemep_pm10_day_palette'¶
- uemep_pm10_palette = 'uemep_pm10_palette'¶
- uemep_pm25_day_palette = 'uemep_pm25_day_palette'¶
- uemep_pm25_palette = 'uemep_pm25_palette'¶
- wmo_ice_chart = 'wmo_ice_chart'¶
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- defaults_Color_bands¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- defaults_Lower_range¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- defaults_Upper_range¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- defaults_allowFeatureInfo¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- defaults_colorbar¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- defaults_intervalTime¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- defaults_logScaling¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_defaults_colorbar_display(*, field=<django.db.models.fields.CharField: defaults_colorbar>)¶
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- wmsoverride_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- wmsstandardname_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- wmsvariable_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- class mde_thredds.models.WMSDatasetPath(*args, **kwargs)¶
Bases:
Model
Base class for an item for an WMSConfig.
Classes:
Meta
()Model Fields:
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
Methods:
get_colorbar_display
(*[, field])Attributes:
- allow_feature_info¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- color_bands¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- colorbar¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_colorbar_display(*, field=<django.db.models.fields.CharField: colorbar>)¶
- interval_time¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- log_scaling¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- lower_range¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- upper_range¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- wms¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- wms_id¶
- class mde_thredds.models.WMSOverride(*args, **kwargs)¶
Bases:
WMSDatasetPath
WMSOverride parameters in WMSConfig.
Miscellaneous:
Model Fields:
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
Methods:
get_colorbar_display
(*[, field])Attributes:
The
location
relative to the catalog root location.Accessor to the related objects manager on the reverse side of a many-to-one relation.
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- directory¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_colorbar_display(*, field=<django.db.models.fields.CharField: colorbar>)¶
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- single_file¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- wms¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- wmsvariable_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- class mde_thredds.models.WMSStandardName(*args, **kwargs)¶
Bases:
WMSDatasetPath
StandardName parameters in WMSConfig..
Miscellaneous:
Methods:
get_colorbar_display
(*[, field])Model Fields:
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
Attributes:
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- get_colorbar_display(*, field=<django.db.models.fields.CharField: colorbar>)¶
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- name¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- unit¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- wms¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- class mde_thredds.models.WMSVariable(*args, **kwargs)¶
Bases:
WMSDatasetPath
WMSVariable parameters in WMSConfig.
Miscellaneous:
Model Fields:
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
A wrapper for a deferred-loading field.
A wrapper for a deferred-loading field.
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
Attributes:
The
location
relative to the catalog root location.Methods:
get_colorbar_display
(*[, field])- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- category¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- category_id¶
- get_colorbar_display(*, field=<django.db.models.fields.CharField: colorbar>)¶
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- name¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- wms¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- mde_thredds.models.get_content_dir()¶
- mde_thredds.models.restart_tds_after_catalog_change(sender, instance: TDSCatalog, created: bool, **kwargs)¶
- mde_thredds.models.restart_tds_after_entry_change(sender, instance: Union[AggregationDataset, SimpleDataset, DatasetScan], **kwargs)¶
- mde_thredds.models.restart_tds_after_server_change(sender, instance: TDSServer, created: bool, **kwargs)¶
- mde_thredds.models.update_xml_field(sender, instance: Union[AggregationDataset, SimpleDataset, DatasetScan], **kwargs)¶
Overwrite the xml field.
- mde_thredds.models.update_xml_field1(sender, instance: Union[NetCDFFile, NetCDFScan], **kwargs)¶
Overwrite the xml field.
- mde_thredds.models.update_xml_field2(sender, instance: Union[WMSStandardName, WMSOverride], **kwargs)¶
Overwrite the xml field.
- mde_thredds.models.update_xml_field3(sender, instance: WMSVariable, **kwargs)¶
Overwrite the xml field.