Skip to content

Commit

Permalink
extend available polarisation channels (#518)
Browse files Browse the repository at this point in the history
* extend available polarisation channels
  • Loading branch information
Lubomír Doležal committed Mar 17, 2022
1 parent c34e9b5 commit 4c55afb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 2.2.17 on 2022-03-16 16:29

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('coverages', '0009_begin_time_end_time_index'),
]

operations = [
migrations.AlterField(
model_name='productmetadata',
name='polarization_channels',
field=models.PositiveSmallIntegerField(blank=True, choices=[(0, 'HV'), (1, 'HV, VH'), (2, 'VH'), (3, 'VV'), (4, 'HH, VV'), (5, 'HH, VH'), (6, 'HH, HV'), (7, 'VH, VV'), (8, 'VH, HV'), (9, 'VV, HV'), (10, 'VV, VH'), (11, 'HH'), (12, 'HH, HV, VH, VV'), (13, 'UNDEFINED'), (14, 'HH, VH, HV, VV'), (15, 'HH, VV, HV, VH'), (16, 'HH, VV, VH, HV')], db_index=True, null=True),
),
]
3 changes: 3 additions & 0 deletions eoxserver/resources/coverages/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,9 @@ class ProductMetadata(models.Model):
(11, "HH"),
(12, "HH, HV, VH, VV"),
(13, "UNDEFINED"),
(14, "HH, VH, HV, VV"),
(15, "HH, VV, HV, VH"),
(16, "HH, VV, VH, HV"),
)

ANTENNA_LOOK_DIRECTION_CHOICES = (
Expand Down

0 comments on commit 4c55afb

Please sign in to comment.