Comments (4)
Codecov measures the coverage of the unit tests, e.g., what fraction of code is executed in the process of running the tests (more here: https://en.wikipedia.org/wiki/Code_coverage). Currently coverage is very low, since we're not actually hitting any of the meaningful code in the package (e.g., the code inside of our class and function definitions).
from earthpy.
ok so here is what i don't understand @mbjoseph . that is what i thought it might be doing BUT i'm confused as to where there is any coverage! ? We have no running unit tests right now that travis runs!
I"m also going to open up an issue about data as i think we definitely need to have some small files to test rasterio given it's all about import and export (IO) files!
Thank you so much!
from earthpy.
@lwasser there is some coverage because we import earthpy in the unit tests. To see what lines are being run you can go here: https://codecov.io/gh/earthlab/earthpy/tree/master/earthpy
So, we are running all of __init__.py
and then essentially just defining our functions and methods in the io.py
, spatial.py
, and utils.py
, but if you go to see what lines within those scripts are being run (https://codecov.io/gh/earthlab/earthpy/src/master/earthpy/spatial.py) you can see that the functions are not executed yet - they are only defined.
from earthpy.
ok i think i follow now @mbjoseph i'll close this for the time being because we are about to get a bunch of PR's from students but will reopen if i have more questions!!
from earthpy.
Related Issues (20)
- main page of docs has a broken link to github HOT 2
- plot_rgb fails with stretch=True for masked array with masked NaNs HOT 1
- Issue in Docs - incorrect url is breaking CI HOT 1
- Doubt on using NDVI for Sentinel-1 images
- Issue with plotting nan values. HOT 1
- Update dependencies HOT 1
- check_crs additional testing needed
- Fix Linting tests to run both black and flake8
- Issue with downloading `et.data.get_data()` HOT 2
- `_stretch_im` not working as intended HOT 4
- overlay shapefile on raster based on raster extent
- em.pixel_flags is poorly documented HOT 1
- Update vignettes to use rioxarray
- `earthpy.plot.plot_bands` method ignores `ax` keyword argument if raster has multiple bands HOT 2
- Earthpy Compatibility with Matplotlib
- Several tests are failing HOT 7
- BadZipFile: File is not a zip file HOT 1
- Error produced when I try to run earthpy with my new environment (that includes earthpy). HOT 6
- Support APPEEARS downloads
- Custom file download location HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from earthpy.