File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3029,12 +3029,12 @@ def compute_track_density(
3029
3029
3030
3030
limit_ratio = 1.12 * 1.1 # record tc speed 112km/h -> 1.12°/h + 10% margin
3031
3031
3032
- if float ( tc_track .data [0 ].time_step [0 ].item () ) > res / limit_ratio :
3033
- warnings .warn (
3034
- "The time step is too big for the current resolution. For the desired resolution, \n "
3035
- f"apply a time step of { res / limit_ratio } h."
3036
- )
3037
- elif res < 0.1 :
3032
+ # if tc_track.data[0].time_step[0].item() > res / limit_ratio:
3033
+ # warnings.warn(
3034
+ # "The time step is too big for the current resolution. For the desired resolution, \n"
3035
+ # f"apply a time step of {res/limit_ratio}h."
3036
+ # )
3037
+ if res < 0.1 :
3038
3038
warnings .warn (
3039
3039
"The resolution is too high. The computation might take several minutes \n "
3040
3040
"to hours. Consider using a resolution below 0.1°."
You can’t perform that action at this time.
0 commit comments