Changeset 0a75335 in flex_extract.git for Source/Python/Mods/checks.py


Ignore:
Timestamp:
Jul 10, 2020, 8:20:31 AM (4 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
8028176
Parents:
bbbe1e1
Message:

changed cds api retrieval for single levels to retrieve from CS3 disks instead of MARS - severe performance boost

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Source/Python/Mods/checks.py

    rf61e1df r0a75335  
    651651    return
    652652
    653 def check_public(public, dataset):
     653def check_public(public, dataset, marsclass):
    654654    '''Check wether the dataset parameter is set to a
    655655    public data set.
     
    667667
    668668    '''
    669     if public and not dataset:
     669    if public and not dataset and not (marsclass.upper() == 'EA'):
    670670        raise ValueError('ERROR: If public MARS data are to be retrieved, '
    671671                         'the "dataset"-parameter has to be set, too!')
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG