Skip to content

Commit

Permalink
#2772 Changed APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Jan 29, 2024
1 parent be02853 commit 549ff3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/python/pyembed/read_tmp_point_nc.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import sys

from met.point import met_point_tools
from met.point import get_empty_point_obs, met_point_tools
try:
from python_embedding import pyembed_tools
except:
Expand All @@ -19,8 +19,8 @@
# read NetCDF file
print('{p} reading {f}'.format(p=met_point_tools.get_prompt(), f=input_filename))
try:
point_obs_data = met_point_tools.get_nc_point_obs()
point_obs_data.read_data(input_filename)
point_obs_data = get_empty_point_obs()
point_obs_data.read_point_data(input_filename)

met_point_data = point_obs_data.get_point_data()
met_point_data['met_point_data'] = point_obs_data
Expand Down

0 comments on commit 549ff3d

Please sign in to comment.