You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given Z and metadata from the file (HDF5 or other format), is there a method to get the longitude and latitude of the grid points of Z given the information kept in metadata?
Thank you
Juan Simarro
The text was updated successfully, but these errors were encountered:
Correction: a similar piece of code is used in io.exporters.initialize_forecast_exporter_netcdf. It's not too much effort to implement that in a separate utility function.
Hello again,
I had problems with the exporters and OPERA.
The code you provide above works well except that it is necessary to reverse the order of the y axis:
grid_x, grid_y = np.meshgrid(xr, np.flip(yr))
Thanks again!
Hello,
I wonder if there is a method to get the longitudes and latitudes of all grid points. From this code:
importer = io.get_method(importer_name, "importer")
Z, _, metadata = io.read_timeseries(fns, importer, **importer_kwargs)
Given Z and metadata from the file (HDF5 or other format), is there a method to get the longitude and latitude of the grid points of Z given the information kept in metadata?
Thank you
Juan Simarro
The text was updated successfully, but these errors were encountered: