-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plan the component #1
Comments
I want to try using Update: I was mistaken. What I really want to use is setuptools-scm. |
Call the library module io.py instead of geotiff.py. |
A GeoTIFF typically stores raster imagery. The data could be many things: elevations, reflectances, intensities, etc. What should the Standard Name for these data be? Candidates:
It would also be good to have a Standard Name for the projection string, although this will be obsolete with csdms/bmi#80. Candidates:
|
The xarray.openrasterio method automatically returns rectilinear data, so the BMI grid type can be rectilinear. |
A file could hold a time series of images, although this isn't typical. I need to think about how to handle this. Is there a standard? This is another use case for an is_steady_state function in the BMI (see csdms/bmi#79) because this would change the way we interpret the rank of the data and the way we use get_value. Idea: a boolean For now, neglect time information in the BMI. |
Reference linksxarray.open_rasterio xarray.plot.imshow Matplotlib imshow GDAL GeoTransform rasterio plotting rasterio.plot.show EPSG:32618 Cartopy projection list Cartopy image example |
When setting up the conda-forge recipe, try using PyPI for the source tarball instead of GitHub. |
Should I use rioxarray instead of xarray? rioxarray does reprojection. It wouldn't hard to make the switch. See http://xarray.pydata.org/en/stable/io.html#rasterio Should I use rasterio instead of xarray? |
Idea: The BMI should always address single bands. Never load multiband data (even RGB) all at once. Use time and the update and update_until methods. On the other hand, xarray does a lazy load of data from disk, so it may do no harm in keeping all bands. Can I update_until a negative time? |
I'd like to make the planning and development of this project as open and as public as possible. GitHub provides a good place for this.
Goal
Make a CSDMS data component that allows a user to read data (and metadata) from a GeoTIFF file. I estimate this project will take about a week to complete.
Overview
xarray.open_rasterio
to load the data and metadata from the file into memory. This implies raster data only.Outline
The text was updated successfully, but these errors were encountered: