Models
Models for the thredds-control-center app.
Models:
|
An dataset representing the aggregation of multiple files. |
|
An entry in a thredds catalog. |
|
Represents a reference to a catalog in a Thredds server. |
|
a model for Creator of the dataset. |
|
A datasetscan creating multiple datasets with a single entry. |
|
a model for Documentation of the dataset. |
|
a model for enahancedCatalog in a thredds server. |
|
An entry in a thredds enhancedCatalog. |
|
A dataset representing one single file. |
|
A datasetscan creating multiple datasets with a single entry. |
|
A enhanceddatasetscan creating multiple datasets with a single entry. |
|
A mixin for EnhancedDatasetScanVariables and EnhancedDatasetScanFilters inlines. |
|
A enhanceddatasetscan 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 model for Publisher of the dataset. |
|
A dataset representing one single file. |
|
Represents a catalog in a Thredds server. |
|
Represents a THREDDS server configuration within a Django application. |
|
A representation of a thredds server wmsCongig. |
|
Base class for an item in WMSConfig model |
|
WMSOverride parameters in WMSConfig. |
|
StandardName parameters in WMSConfig.. |
|
WMSVariable parameters in WMSConfig. |
Functions:
Get the content directory of THREDDS. |
|
|
Overwrite the xml field in inlines of Aggregation model. |
|
Overwrite the xml field in inline of TDSCatalog model. |
Overwrite the xml field in nested inlines of EnhancedDatasetScan model. |
|
|
Overwrite the xml field in EnhancedCatalog model. |
|
Overwrite the xml field in inlines of WMSConfig model. |
Overwrite the xml field in nested inline of WMSOverride model. |
|
|
Write the xml field and save the catalog after a post_save or post_delete signal in AggregationDataset, SimpleDataset, DatasetScan, and EnhancedCatalog models. |
|
Overwrite the xml field in AggregationDataset, SimpleDataset, DatasetScan, and EnhancedCatalog models. |
Write the xml field of the catalog after a post_save signal in TDSCatalog model. |
|
|
write app_setting.py and threddsConfig.xml after a post_save signal in TDSServer model. |
|
Write the xml field of the catalog after a m2m_changed signal in TDSServer model. |
|
Write the xml field of the catalog after a post_save signal in WMSConfig model. |
- class tds_control.models.AggregationDataset(*args, **kwargs)
Bases:
BaseDataset
An dataset representing the aggregation of multiple files.
Classes:
AggregationType
(value)The type of aggregations.
Miscellaneous:
Model Fields:
Aggregation type specifying how to combine the files.
The catalog that holds this entry.
Name of the dimension along we are supposed to join (only relevant for JoinNew and JoinExisting).
Name of the resulting dataset.
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
Aggregation type specifying how to combine the files.
- catalog
The catalog that holds this entry.
- dimension_name
Name of the dimension along we are supposed to join (only relevant for JoinNew and JoinExisting).
- 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
Name of the resulting dataset.
- class tds_control.models.BaseDataset(*args, **kwargs)
Bases:
Model
An entry in a thredds catalog.
Classes:
DataType
(value)Available data types for datasets.
Meta
()Abatract in Meta class.
Model Fields:
The catalog that holds this entry.
A wrapper for a deferred-loading field.
The UUID of the dataset.
The name of the dataset
The rendered XML string of the dataset config.
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
The catalog that holds this entry.
- 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
The UUID of the dataset.
- name
The name of the dataset
- xml
The rendered XML string of the dataset config.
- class tds_control.models.CatalogRef(*args, **kwargs)
Bases:
Model
Represents a reference to a catalog in a Thredds server.
This model is used to keep track of catalog references, linking them to instances of the TDSCatalog model. Each CatalogRef has a unique UUID, a connection to a TDSCatalog instance (for administrative purposes), another connection to a TDSCatalog (to retrieve catalog name and ID), and a title.
- uuid
The unique identifier for the catalog reference.
- Type:
UUIDField
- conn_catalog
A link to TDSCatalog for administrative purposes.
- Type:
ForeignKey
- catalog
A link to TDSCatalog used for retrieving catalog name and ID.
- Type:
ForeignKey
- title
The title of the CatalogRef.
- Type:
CharField
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 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.
Attributes:
- 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.
- catalog_id
- conn_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.
- conn_catalog_id
- objects = <django.db.models.manager.Manager object>
- title
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- uuid
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class tds_control.models.Creator(*args, **kwargs)
Bases:
Model
a model for Creator of the dataset.
Miscellaneous:
Model Fields:
//www.ncep.noaa.gov/mail_liaison.shtml
creator name e.g. DOC/NOAA/NWS/NCEP.
//www.ncep.noaa.gov/
A wrapper for a deferred-loading field.
Attributes:
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- creator_email
//www.ncep.noaa.gov/mail_liaison.shtml
- Type:
creator email e.g. http
- creator_name
creator name e.g. DOC/NOAA/NWS/NCEP
- creator_url
//www.ncep.noaa.gov/
- Type:
creator url e.g. http
- 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 tds_control.models.DatasetScan(*args, **kwargs)
Bases:
BaseDataset
A datasetscan creating multiple datasets with a single entry.
Miscellaneous:
Model Fields:
The catalog that holds this entry.
The directory to files
The path of the dataset.
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
The catalog that holds this entry.
- get_data_type_display(*, field=<django.db.models.fields.CharField: data_type>)
- location
The directory to files
- objects = <django.db.models.manager.Manager object>
- path
The path of the dataset. The final path will be a combination of the catalog name and this string.
- class tds_control.models.Documentation(*args, **kwargs)
Bases:
Model
a model for Documentation of the dataset.
Miscellaneous:
Model Fields:
//www.emc.ncep.noaa.gov/modelinfo/index.html
documentation rights e.g. Freely available.
documentation title e.g. NCEP Model documentation.
A wrapper for a deferred-loading field.
Attributes:
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- documentation_link
//www.emc.ncep.noaa.gov/modelinfo/index.html
- Type:
documentation link e.g. http
- documentation_rights
documentation rights e.g. Freely available
- documentation_title
documentation title e.g. NCEP Model documentation
- 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 tds_control.models.EnhancedCatalog(*args, **kwargs)
Bases:
Model
a model for enahancedCatalog in a thredds server.
Classes:
DataType
(value)Available data types for datasets.
ServiceType
(value)Available service types for enahncedCatalog.
Miscellaneous:
Model Fields:
authority e.g. edu.ucar.unidata.
The catalog that holds this entry.
The creator details of dataset.
dataFormat e.g. NetCDF.
Type of the dataset.
The documentation details of dataset.
The UUID of the dataset.
Inherit metadata from parent catalog?
The name of the dataset
The publisher details of dataset.
Web Services of the dataset.
time coverage duration e.g. 14 days.
time coverage end e.g. present.
The rendered XML string of the dataset config.
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.
Methods:
get_data_type_display
(*[, field])get_service_type_display
(*[, field])Render the catalog as xml.
- 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'
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- class ServiceType(value)
Bases:
TextChoices
Available service types for enahncedCatalog.
Attributes:
- both = 'both'
- httpserver = 'HTTPServer'
- ncdods = 'ncdods'
- authority
authority e.g. edu.ucar.unidata
- catalog
The catalog that holds this entry.
- catalog_id
- creator
The creator details of dataset.
- creator_id
- data_format
dataFormat e.g. NetCDF
- data_type
Type of the dataset.
- documentation
The documentation details of dataset.
- documentation_id
- enhanceddataset_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.
- enhanceddatasetscan_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.
- enhanceddatasetscansubs_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.
- get_data_type_display(*, field=<django.db.models.fields.CharField: data_type>)
- get_service_type_display(*, field=<django.db.models.fields.CharField: service_type>)
- id
The UUID of the dataset.
- metadata_inherited
Inherit metadata from parent catalog?
- name
The name of the dataset
- objects = <django.db.models.manager.Manager object>
- publisher
The publisher details of dataset.
- publisher_id
- service_type
Web Services of the dataset.
- time_coverage_duration
time coverage duration e.g. 14 days
- time_coverage_end
time coverage end e.g. present
- xml
The rendered XML string of the dataset config.
- class tds_control.models.EnhancedCatalogData(*args, **kwargs)
Bases:
Model
An entry in a thredds enhancedCatalog.
Classes:
DataType
(value)Available data types for datasets.
Meta
()Meta class for EnhancedCatalogData.
Model Fields:
Type of the dataset.
EnhancedCatalog that uses this netcdf file
The UUID of the dataset.
The name of the dataset
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'
- data_type
Type of the dataset.
- enhanced_catalog
EnhancedCatalog that uses this netcdf file
- enhanced_catalog_id
- get_data_type_display(*, field=<django.db.models.fields.CharField: data_type>)
- id
The UUID of the dataset.
- name
The name of the dataset
- class tds_control.models.EnhancedDataset(*args, **kwargs)
Bases:
EnhancedCatalogData
A dataset representing one single file.
Miscellaneous:
Model Fields:
The location of the files that shall be used
EnhancedCatalog that uses this netcdf file
Methods:
get_data_type_display
(*[, field])Attributes:
The
location
relative to the catalog root location.The urlPath attribute for the catalog.
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- data_location
The location of the files that shall be used
- enhanced_catalog
EnhancedCatalog that uses this netcdf file
- get_data_type_display(*, field=<django.db.models.fields.CharField: data_type>)
- 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 tds_control.models.EnhancedDatasetScan(*args, **kwargs)
Bases:
EnhancedCatalogData
A datasetscan creating multiple datasets with a single entry.
Miscellaneous:
Model Fields:
addTimeCoverage datasetNameMatchPattern e.g. ([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})_eta_211.nc$.
addTimeCoverage duration e.g. 60 hours.
00
The directory to scan.
AWIPS 211 (Q) Regional - CONUS (Lambert Conformal).
EnhancedCatalog that uses this netcdf file
geospatial lat max e.g. 0.0.
geospatial lat min e.g. 0.0.
geospatial lon max e.g. 0.0.
geospatial lon min e.g. 0.0.
The path of the dataset.
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
location
relative to the catalog root location.Methods:
get_data_type_display
(*[, field])- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- addTimeCoverage_datasetNameMatchPattern
addTimeCoverage datasetNameMatchPattern e.g. ([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})_eta_211.nc$
- addTimeCoverage_duration
addTimeCoverage duration e.g. 60 hours
- addTimeCoverage_startTimeSubstitutionPattern
00
- Type:
addTimeCoverage startTimeSubstitutionPattern e.g. $1-$2-$3T$4
- Type:
00
- dataset_location
The directory to scan.
- documentation_summary
AWIPS 211 (Q) Regional - CONUS (Lambert Conformal).
- Type:
documentation summary e.g. NCEP North American Model
- enhanced_catalog
EnhancedCatalog that uses this netcdf file
- enhanceddatasetscanfilters_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.
- enhanceddatasetscanvariables_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.
- geospatial_lat_max
geospatial lat max e.g. 0.0
- geospatial_lat_min
geospatial lat min e.g. 0.0
- geospatial_lon_max
geospatial lon max e.g. 0.0
- geospatial_lon_min
geospatial lon min e.g. 0.0
- get_data_type_display(*, field=<django.db.models.fields.CharField: data_type>)
- objects = <django.db.models.manager.Manager object>
- path
The path of the dataset. The final path will be a combination of the catalog name and this string.
- class tds_control.models.EnhancedDatasetScanFilters(*args, **kwargs)
Bases:
EnhancedDatasetScanSubs
A enhanceddatasetscan creating multiple datasets with a single entry.
Miscellaneous:
Model Fields:
The enhancedCatalog that holds this entry.
Accessor to the related object on the forward side of a one-to-one relation.
filter string e.g. *eta_211.nc.
Attributes:
The
location
relative to the catalog root location.- exception DoesNotExist
Bases:
DoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- enhanced_catalog_datascan
The enhancedCatalog that holds this entry.
- enhanced_catalog_datascan_id
- enhanceddatasetscansubs_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.
- enhanceddatasetscansubs_ptr_id
- class tds_control.models.EnhancedDatasetScanSubs(*args, **kwargs)
Bases:
Model
A mixin for EnhancedDatasetScanVariables and EnhancedDatasetScanFilters inlines.
Miscellaneous:
Model Fields:
EnhancedCatalog that uses this netcdf file
The UUID of the dataset.
Attributes:
Accessor to the related object on the reverse side of a one-to-one relation.
Accessor to the related object on the reverse side of a one-to-one relation.
The
location
relative to the enhancedCatalog root location.- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- enhanced_catalog_sub
EnhancedCatalog that uses this netcdf file
- enhanced_catalog_sub_id
- enhanceddatasetscanfilters
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.
- enhanceddatasetscanvariables
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.
- id
The UUID of the dataset.
- objects = <django.db.models.manager.Manager object>
- class tds_control.models.EnhancedDatasetScanVariables(*args, **kwargs)
Bases:
EnhancedDatasetScanSubs
A enhanceddatasetscan creating multiple datasets with a single entry.
Miscellaneous:
Model Fields:
The enhancedCatalog that holds this entry.
Accessor to the related object on the forward side of a one-to-one relation.
presented name e.g. Geopotential height, gpm.
units e.g. gp m.
variable name e.g. Z_sfc.
veocabulary name e.g. geopotential_height.
Attributes:
The
location
relative to the catalog root location.- exception DoesNotExist
Bases:
DoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- enhanced_catalog_datascan
The enhancedCatalog that holds this entry.
- enhanced_catalog_datascan_id
- enhanceddatasetscansubs_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.
- enhanceddatasetscansubs_ptr_id
- presented_name
presented name e.g. Geopotential height, gpm
- units
units e.g. gp m
- variable_name
variable name e.g. Z_sfc
- veocabulary_name
veocabulary name e.g. geopotential_height
- class tds_control.models.NetCDFBase(*args, **kwargs)
Bases:
Model
Base class for an item for an aggregation dataset.
Classes:
Meta
()Meta options for the model.
Model Fields:
Aggregation that uses this netcdf file
The location of the files that shall be used
Attributes:
The
location
relative to the catalog root location.- aggregation
Aggregation that uses this netcdf file
- aggregation_id
- location
The location of the files that shall be used
- class tds_control.models.NetCDFFile(*args, **kwargs)
Bases:
NetCDFBase
An explicit location of a netcdf file to be used in an aggregation.
Miscellaneous:
Model Fields:
Aggregation that uses this netcdf file
A wrapper for a deferred-loading field.
Attributes:
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- aggregation
Aggregation that uses this netcdf file
- 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 tds_control.models.NetCDFScan(*args, **kwargs)
Bases:
NetCDFBase
A scan to add multiple aggregations.
Miscellaneous:
Model Fields:
Aggregation that uses this netcdf file
A wrapper for a deferred-loading field.
The regular expression to use for finding files.
Scan sub directories above the specified location
Attributes:
The
location
relative to the catalog root location.- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- aggregation
Aggregation that uses this netcdf file
- 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
The regular expression to use for finding files.
- subdirs
Scan sub directories above the specified location
- class tds_control.models.Publisher(*args, **kwargs)
Bases:
Model
a model for Publisher of the dataset.
Miscellaneous:
Model Fields:
A wrapper for a deferred-loading field.
publisher email e.g. support@unidata.ucar.edu.
publisher name e.g. UCAR/UNIDATA.
//www.unidata.ucar.edu/
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>
- publisher_email
publisher email e.g. support@unidata.ucar.edu
- publisher_name
publisher name e.g. UCAR/UNIDATA
- publisher_url
//www.unidata.ucar.edu/
- Type:
publisher url e.g. http
- class tds_control.models.SimpleDataset(*args, **kwargs)
Bases:
BaseDataset
A dataset representing one single file.
Miscellaneous:
Model Fields:
The catalog that holds this entry.
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
The catalog that holds this entry.
- 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 tds_control.models.TDSCatalog(*args, **kwargs)
Bases:
Model
Represents a catalog in a Thredds server.
This model stores information about various configurations and services available in a Thredds Data Server (TDS) catalog. Each catalog has a unique name and various boolean fields indicating the activation of specific TDS features or services.
- tds4
Indicates if Thredds Data Server version 4 is used.
- Type:
BooleanField
- resolver
Indicates if enhanced catalog features are enabled.
- Type:
BooleanField
- odap
Indicates if OpenDAP is activated.
- Type:
BooleanField
- dap4
Indicates if DAP4 is activated.
- Type:
BooleanField
- http
Indicates if HTTPServer is activated.
- Type:
BooleanField
- wcs
Indicates if WCS (Web Coverage Service) is activated.
- Type:
BooleanField
- wms
Indicates if WMS (Web Map Service) is activated.
- Type:
BooleanField
- ncssGrid
Indicates if NetcdfSubset for grid data is activated.
- Type:
BooleanField
- ncssPoint
Indicates if NetcdfSubset for point data is activated.
- Type:
BooleanField
- cdmremote
Indicates if CdmRemote is activated.
- Type:
BooleanField
- iso
Indicates if ISO metadata standard is activated.
- Type:
BooleanField
- ncml
Indicates if NCML (NetCDF Markup Language) is activated.
- Type:
BooleanField
- uddc
Indicates if UDDC (Unified Data Distribution Capability) is activated.
- Type:
BooleanField
- name
Unique name of the catalog.
- Type:
SlugField
- xml
Rendered XML string configuration of the catalog.
- Type:
TextField
- render_xml()
Renders the catalog as XML based on its configuration.
- xml_path()
Computes the file path for the catalog’s XML configuration.
- write_xml()
Writes the catalog’s XML configuration to disk.
Miscellaneous:
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.
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.
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
Computes the file path for the catalog's XML configuration.
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.
A wrapper for a deferred-loading field.
Methods:
Renders the catalog configuration as an XML string.
Writes the catalog's XML configuration 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.
- catalog
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.
- conncatalog
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.
- dap4
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- 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.
- enhancedcatalog_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.
- render_xml() str
Renders the catalog configuration as an XML string.
- Returns:
The XML representation of the catalog’s configuration.
- Return type:
- resolver
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.
- tds4
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- tdsserver_set
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.
- write_xml() None
Writes the catalog’s XML configuration to disk.
The XML configuration is written to the path computed by xml_path.
- xml
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class tds_control.models.TDSServer(*args, **kwargs)
Bases:
Model
Represents a THREDDS server configuration within a Django application. This model stores various settings related to server operation, CORS (Cross-Origin Resource Sharing), OPeNDAP, WCS (Web Coverage Service), WMS (Web Map Service), and other related services.
- name
A unique slug identifying the THREDDS server.
- Type:
models.SlugField
- catalogs
A set of root catalogs used in the TDS Server.
- Type:
models.ManyToManyField
- cors_activation
Indicates if CORS (Cross-Origin Resource Sharing) is enabled.
- Type:
models.BooleanField
- cors_maxAge
Specifies the maxAge for CORS.
- Type:
models.IntegerField
- cors_allowed_methods
Defines the allowed methods for CORS.
- Type:
models.CharField
- cors_allowed_headers
Lists the allowed headers for CORS.
- Type:
models.CharField
- cors_allowed_origin
Sets the allowed origin for CORS.
- Type:
models.CharField
- netcdf_subset_service_activation
Enables or disables the NetcdfSubsetService.
- Type:
models.BooleanField
- netcdfsubsetservice_scour
Configures the scour setting for the NetcdfSubsetService.
- Type:
models.CharField
- netcdfsubsetservice_maxAge
Specifies the maxAge for the NetcdfSubsetService.
- Type:
models.CharField
- opendap_activation
Enables or disables OPeNDAP (Open-source Project for a Network Data Access Protocol).
- Type:
models.BooleanField
- opendap_ascLimit
Sets the ascLimit for OPeNDAP.
- Type:
models.IntegerField
- opendap_binLimit
Specifies the binLimit for OPeNDAP.
- Type:
models.IntegerField
- wcs_activation
Enables or disables WCS (Web Coverage Service).
- Type:
models.BooleanField
- wcs_allowRemote
Allows or disallows remote WCS.
- Type:
models.BooleanField
- wcs_scour
Sets the scour setting for WCS.
- Type:
models.CharField
- wcs_maxAge
Specifies the maxAge for WCS.
- Type:
models.CharField
- wms_activation
Enables or disables WMS (Web Map Service).
- Type:
models.BooleanField
- wms_allowRemote
Allows or disallows remote WMS.
- Type:
models.BooleanField
- wms_max_image_width
Sets the maximum image width for WMS.
- Type:
models.IntegerField
- wms_max_image_height
Specifies the maximum image height for WMS.
- Type:
models.IntegerField
- ncml_allow
Enables or disables ncML.
- Type:
models.BooleanField
- uddc_allow
Enables or disables UDDC (Unidata’s Dataset Discovery Convention).
- Type:
models.BooleanField
- iso_allow
Enables or disables ISO (International Organization for Standardization) formats.
- Type:
models.BooleanField
- xml
Stores the rendered XML string of the threddsConfig.
- Type:
models.TextField
- render_xml()
Renders the XML for the catalog.
- write_xml()
Writes the XML file to disk.
- internal_url()
Returns the internal URL of the THREDDS server.
- public_url()
Returns the public URL of the THREDDS server.
Classes:
CorsMethods
(value)Enumeration of methods that are available for CORS settings in the THREDDS server.
Miscellaneous:
Attributes:
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
Returns the internal URL where the THREDDS server can be accessed.
Returns the public URL where the 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.
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.
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_cors_allowed_methods_display
(*[, field])Renders the catalog as XML for the THREDDS server.
Writes the XML configuration file to disk for the THREDDS server.
- class CorsMethods(value)
Bases:
TextChoices
Enumeration of methods that are available for CORS settings in the THREDDS server.
Attributes:
- GET = 'GET'
- POST = 'POST'
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- catalogs
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.
- 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
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- 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
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- 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
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- 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
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- 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
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_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 tds_control.models.WMSConfig(*args, **kwargs)
Bases:
Model
A representation of a thredds server wmsCongig.
Classes:
ColorBar
(value)ColorBar choices.
Miscellaneous:
Model Fields:
defaults Number of color bands(default) e.g 20
defaults Lower range of variable(default) e.g. -50.
defaults Upper range of variable(default) e.g 50
defaults allow FeatureInfo
defaults Select colorbar name (default)
defaults interval Time
defaults log Scaling
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
ColorBar choices.
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
defaults Number of color bands(default) e.g 20
- defaults_Lower_range
defaults Lower range of variable(default) e.g. -50
- defaults_Upper_range
defaults Upper range of variable(default) e.g 50
- defaults_allowFeatureInfo
defaults allow FeatureInfo
- defaults_colorbar
defaults Select colorbar name (default)
- defaults_intervalTime
defaults interval Time
- defaults_logScaling
defaults log Scaling
- 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 tds_control.models.WMSDatasetPath(*args, **kwargs)
Bases:
Model
Base class for an item in WMSConfig model
Classes:
Meta
()Abatract in Meta class.
Model Fields:
datasetPath allow FeatureInfo
datasetPath Number of color bands(datasetPath) e.g 20
datasetPath Select colorbar name (datasetPath)
datasetPath interval Time
datasetPath log Scaling
datasetPath Lower range of variable(datasetPath) e.g. -50.
datasetPath Upper range of variable(datasetPath) e.g 50
WMSConfig that uses this netcdf file
Methods:
get_colorbar_display
(*[, field])Attributes:
- allow_feature_info
datasetPath allow FeatureInfo
- color_bands
datasetPath Number of color bands(datasetPath) e.g 20
- colorbar
datasetPath Select colorbar name (datasetPath)
- get_colorbar_display(*, field=<django.db.models.fields.CharField: colorbar>)
- interval_time
datasetPath interval Time
- log_scaling
datasetPath log Scaling
- lower_range
datasetPath Lower range of variable(datasetPath) e.g. -50
- upper_range
datasetPath Upper range of variable(datasetPath) e.g 50
- wms
WMSConfig that uses this netcdf file
- wms_id
- class tds_control.models.WMSOverride(*args, **kwargs)
Bases:
WMSDatasetPath
WMSOverride parameters in WMSConfig.
Miscellaneous:
Model Fields:
Direcrtory of model. e.g testAll/*eta_211.nc.
A wrapper for a deferred-loading field.
The location of the files that shall be used
WMSConfig that uses this netcdf file
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
- 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
The location of the files that shall be used
- wms
WMSConfig that uses this netcdf file
- 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 tds_control.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.
Name of variable
Unit of variable
WMSConfig that uses this netcdf file
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
Name of variable
- objects = <django.db.models.manager.Manager object>
- unit
Unit of variable
- wms
WMSConfig that uses this netcdf file
- class tds_control.models.WMSVariable(*args, **kwargs)
Bases:
WMSDatasetPath
WMSVariable parameters in WMSConfig.
Miscellaneous:
Model Fields:
for connection to WMSOverride in inline feature
A wrapper for a deferred-loading field.
Name of variable
WMSConfig that uses this netcdf file
Attributes:
The
location
relative to the catalog root location.Methods:
get_colorbar_display
(*[, field])- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- category
for connection to WMSOverride in inline feature
- 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
Name of variable
- objects = <django.db.models.manager.Manager object>
- wms
WMSConfig that uses this netcdf file
- tds_control.models.get_content_dir()
Get the content directory of THREDDS.
- tds_control.models.save_aggregation_components(sender, instance: NetCDFFile | NetCDFScan, **kwargs)
Overwrite the xml field in inlines of Aggregation model.
- tds_control.models.save_catalogref(sender, instance: CatalogRef, **kwargs)
Overwrite the xml field in inline of TDSCatalog model.
- tds_control.models.save_datascan_enhancedcatalog_components(sender, instance: EnhancedDatasetScanVariables | EnhancedDatasetScanFilters, **kwargs)
Overwrite the xml field in nested inlines of EnhancedDatasetScan model.
- tds_control.models.save_enhancedcatalog(sender, instance: EnhancedDataset | EnhancedDatasetScan, **kwargs)
Overwrite the xml field in EnhancedCatalog model.
- tds_control.models.save_wmsconfig_components(sender, instance: WMSStandardName | WMSOverride, **kwargs)
Overwrite the xml field in inlines of WMSConfig model.
- tds_control.models.save_wmsoverride_wmsconfing_components(sender, instance: WMSVariable, **kwargs)
Overwrite the xml field in nested inline of WMSOverride model.
- tds_control.models.sve_and_write_catalog(sender, instance: AggregationDataset | SimpleDataset | DatasetScan | EnhancedCatalog, **kwargs)
Write the xml field and save the catalog after a post_save or post_delete signal in AggregationDataset, SimpleDataset, DatasetScan, and EnhancedCatalog models.
- tds_control.models.update_xml_field(sender, instance: AggregationDataset | SimpleDataset | DatasetScan | EnhancedCatalog, **kwargs)
Overwrite the xml field in AggregationDataset, SimpleDataset, DatasetScan, and EnhancedCatalog models.
- tds_control.models.write_all_objects_tdscatalog_in_tdsconfiguration(sender, instance: TDSCatalog, created: bool, **kwargs)
Write the xml field of the catalog after a post_save signal in TDSCatalog model.
- tds_control.models.write_app_setting_and_threddsConfig(sender, instance: TDSServer, created: bool, **kwargs)
write app_setting.py and threddsConfig.xml after a post_save signal in TDSServer model.