Comments (5)
yes but I think actually you just need to add chunks['meta'] = meta_chunks
based on the docstring for "chunks" in this method:
nsrdb/nsrdb/file_handlers/outputs.py
Lines 38 to 39 in b2f01d3
I didn't remember that we sub-class the reV outputs handler for the nsrdb applications. You may not need to modify any reV code, just make any changes in the class linked above.
from nsrdb.
code from WTK:
from rex.rechunk_h5.chunk_size import ArrayChunkSize
chunks = ArrayChunkSize.compute(self.meta)
from nsrdb.
So that method that michael reference will get the correct chunk shapes for any array. I think we want this to happen wherever the coordinate dataset gets written in the reV outputs hander and then here for the nsrdb meta data:
Line 337 in b2f01d3
from nsrdb.
so compute chunks for coords/meta and then write them out in chunked form like meta = meta.create_dataset("chunked", (1000, 1000), chunks=chunks)
?
from nsrdb.
added chunks for meta here
nsrdb/nsrdb/file_handlers/outputs.py
Lines 56 to 57 in 0cc0a99
nsrdb/nsrdb/file_handlers/outputs.py
Lines 59 to 62 in 0cc0a99
from nsrdb.
Related Issues (20)
- Pandas v1 compatibility HOT 7
- Data model output files to temp scratch then move HOT 8
- Sanity check nsrdb time series frequency HOT 2
- Add docker file and docker compose for lambda HOT 2
- Remove pyhdf dependence HOT 3
- Pull 5 year average aerosols for Puerto Rico data HOT 1
- Add glob utility for data model filepath spec HOT 1
- Generate coordinates dataset for final NSRDB output HOT 4
- NSRDB Meta Data NaN values and Dtypes HOT 2
- Change AOD physical limits HOT 6
- os.path.basename nan handling HOT 1
- additonal flags for cli HOT 2
- "Shark's teeth" artifacts in composite albedo data HOT 2
- NSRDB pipeline single job debug HOT 2
- MERRA Data Interpolation Bug HOT 3
- Missing import in nsrdb/all_sky/__init__.py? HOT 1
- Failed IMS data download for Albedo module
- Automatic modis download
- incorrect logic in collection?
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 nsrdb.