Skip to content

Draft: Make fof compare work with radar fof files#103

Open
muellch wants to merge 1 commit into
MeteoSwiss:mainfrom
muellch:radar_fof_fixes
Open

Draft: Make fof compare work with radar fof files#103
muellch wants to merge 1 commit into
MeteoSwiss:mainfrom
muellch:radar_fof_fixes

Conversation

@muellch
Copy link
Copy Markdown

@muellch muellch commented May 21, 2026

Makes the probtest comparison work with Emvorado radar fof files.

Co-authored-by: Alina Yapparova alina.yapparova@meteoswiss.ch

Comment thread util/fof_utils.py

for varname in filter(lambda s: s in ["lat", "lon", "statid", "time_nomi"], ds):
values = np.repeat(ds[varname], lbody.astype(int))
values = np.append(values, np.zeros(dbody - nbody))
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fill with zeroes? Make the array shorter? Fill with nan?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant