mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
Update the Colored Surface Temp Plot notebook to have a more optimized for loop
Pulled these steps out of the for loop, perform first: -instantiate the air temp array once -nan out the null values (-9999) -convert from c to f In the for loop: -create a copy of tair (subtair) -use this copy to isolate values in the given threshold range -when setting the data on the stationplot use the 'value' variable instead of using x again in the threshold to find the color value
This commit is contained in:
parent
bd7a893802
commit
10537bf3f7
1 changed files with 33 additions and 18 deletions
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue