Skip to content
Discussion options

You must be logged in to vote

@JoshuaRendon,
The modelgrid object is the replacement to the old SpatialReference class. The Grid classes support structured, vertex, and unstructured grid representations. You can get a StructuredGrid object from your code by simply calling:

mf1.modelgrid.set_coord_info(xoff=xll, yoff=yll, angrot=0, epsg=3116)
grid = mf1.modelgrid

You can also get a modeltime object, which has fairly robust time support, by calling:

modeltime = mf1.modeltime
modeltime.start_datetime ="7/4/2000"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wpbonelli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants