We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On line 241 in framework.py we could clean this up using recipes.
Here is what it currently looks like # Assign some basin-specific things, also needs to be generalized if self.basin == 'BRB': self.pixel = 100 sr = 0 if self.units == 'KAF': emin = 2500 emax = 10500 self.step = 1000 if self.units == 'SI': emin = 800 emax = 3200 self.step = 250 if self.basin == 'TUOL': self.pixel = 50 sr = 6 if self.units == 'KAF': emin = 3000 # [ft] emax = 12000 self.step = 1000 if self.units == 'SI': emin = 800 # [m] emax = 3600 self.step = 500 if self.basin == 'SJ': self.pixel = 50 sr = 6 if self.units == 'KAF': emin = 1000 # [ft] emax = 13000 self.step = 1000 if self.units == 'SI': emin = 300 # [m] emax = 4000 self.step = 500 if self.basin == 'LAKES': self.pixel = 50 sr = 0 self.imgx = (1200,1375) self.imgy = (425,225) if self.units == 'KAF': emin = 8000 # [ft] emax = 12500 self.step = 500 if self.units == 'SI': emin = 2400 # [m] emax = 3800 self.step = 200 if self.basin == 'RCEW': self.pixel = 50 sr = 0 if self.units == 'KAF': emin = 2500 # [ft] emax = 7500 self.step = 500 if self.units == 'SI': emin = 800 # [m] emax = 2500 self.step = 500
# Assign some basin-specific things, also needs to be generalized if self.basin == 'BRB': self.pixel = 100 sr = 0 if self.units == 'KAF': emin = 2500 emax = 10500 self.step = 1000 if self.units == 'SI': emin = 800 emax = 3200 self.step = 250 if self.basin == 'TUOL': self.pixel = 50 sr = 6 if self.units == 'KAF': emin = 3000 # [ft] emax = 12000 self.step = 1000 if self.units == 'SI': emin = 800 # [m] emax = 3600 self.step = 500 if self.basin == 'SJ': self.pixel = 50 sr = 6 if self.units == 'KAF': emin = 1000 # [ft] emax = 13000 self.step = 1000 if self.units == 'SI': emin = 300 # [m] emax = 4000 self.step = 500 if self.basin == 'LAKES': self.pixel = 50 sr = 0 self.imgx = (1200,1375) self.imgy = (425,225) if self.units == 'KAF': emin = 8000 # [ft] emax = 12500 self.step = 500 if self.units == 'SI': emin = 2400 # [m] emax = 3800 self.step = 200 if self.basin == 'RCEW': self.pixel = 50 sr = 0 if self.units == 'KAF': emin = 2500 # [ft] emax = 7500 self.step = 500 if self.units == 'SI': emin = 800 # [m] emax = 2500 self.step = 500
The text was updated successfully, but these errors were encountered:
No branches or pull requests
On line 241 in framework.py we could clean this up using recipes.
Here is what it currently looks like
# Assign some basin-specific things, also needs to be generalized if self.basin == 'BRB': self.pixel = 100 sr = 0 if self.units == 'KAF': emin = 2500 emax = 10500 self.step = 1000 if self.units == 'SI': emin = 800 emax = 3200 self.step = 250 if self.basin == 'TUOL': self.pixel = 50 sr = 6 if self.units == 'KAF': emin = 3000 # [ft] emax = 12000 self.step = 1000 if self.units == 'SI': emin = 800 # [m] emax = 3600 self.step = 500 if self.basin == 'SJ': self.pixel = 50 sr = 6 if self.units == 'KAF': emin = 1000 # [ft] emax = 13000 self.step = 1000 if self.units == 'SI': emin = 300 # [m] emax = 4000 self.step = 500 if self.basin == 'LAKES': self.pixel = 50 sr = 0 self.imgx = (1200,1375) self.imgy = (425,225) if self.units == 'KAF': emin = 8000 # [ft] emax = 12500 self.step = 500 if self.units == 'SI': emin = 2400 # [m] emax = 3800 self.step = 200 if self.basin == 'RCEW': self.pixel = 50 sr = 0 if self.units == 'KAF': emin = 2500 # [ft] emax = 7500 self.step = 500 if self.units == 'SI': emin = 800 # [m] emax = 2500 self.step = 500
The text was updated successfully, but these errors were encountered: