Project

General

Profile

Bug #35711

Delete useless get_pressures function in TM5_profile.py

Added by Xin Zhang 2 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
03/18/2022
Due date:
% Done:

100%


Description

This function is not used at all and the equation is wrong:

    def get_pressures(self, surface_pressure):
        hyai = self.ref['hyai'][:]
        hybi = self.ref['hybi'][:]
        return hyai + hyai*surface_pressure

It's better to delete it.

History

#1 Updated by Xin Zhang 2 months ago

  • Assignee set to Maarten Sneep

#2 Updated by Maarten Sneep 2 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Done.

Also available in: Atom PDF