Skip to content

Commit

Permalink
support conservative temperature
Browse files Browse the repository at this point in the history
  • Loading branch information
aekiss committed Sep 30, 2020
1 parent b314280 commit 1f2f1c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def is_var_temp_or_salt(src_var, dest_var):
for v in [src_var.lower(), dest_var.lower()]:
if v == 'salt' or v == 'vosaline' or v == 'practical_salinity':
return 'salt'
if v == 'temp' or v == 'votemper' or v == 'pottmp' or v == 'potential_temperature':
if v == 'temp' or v == 'votemper' or v == 'pottmp' or v == 'potential_temperature' or v == 'conservative_temperature':
return 'temp'

def check_src_data_ranges(src_data, temp_or_salt):
Expand Down

0 comments on commit 1f2f1c9

Please sign in to comment.