Skip to content

Conversation

@rjleveque
Copy link
Member

Add parameter indexing to FGmaxGrid.read_output, with default ij for backward compatibility (but with a bug fixed in computing x,y from X,Y.

Setting indexing='xy' results in fgmax grid arrays that are indexed the same way as topofiles,

X[j,i],Y[j,i] corresponds to point x[i],y[j]

This is useful if you want to save the fgmax results in the same format as topofiles, using topotools.Topography.write().

…ng array has same format as topofiles, with new parameter for backward compatibility
… compatibility

Also moved some import statements that seemed to give circular imports in
some cases: topotools imports data imports fgmax_tools imports topotools.
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