Comments (4)
Hi Matt,
Thanks for checking out pysatCDF. My guess is the epoch variable is of type EPOCH16, which isn’t supported yet. I’ll get it fixed up.
Is the CDF file you are loading available publicly so I can check it out?
Cheers,
Russell
On Mar 11, 2016, at 6:06 AM, mattkjames7 [email protected] wrote:
Hi, I have been experimenting with pysatCDF, which can successfully read the data that I am trying to look at. The only problem I have is that there is no "epoch" entry in the cdf.data dict. There is definitely an epoch in the file as it is listed in the metadata, not to mention that I can get the epoch values using IDL (yuck!). Is there something that I am missing?
Cheers,
Matt.—
Reply to this email directly or view it on GitHub.
from pysatcdf.
Hi Russell,
Thanks for the quick reply! The CDF files I am using are publicly available here.
Cheers,
Matt.
from pysatcdf.
Hi Matt,
I’ve pushed some code to the repo that should fix things up.
When re-running 'python setup.py install' if it doesn’t re-compile the Fortran clear out the build directory.
Cheers,
Russell
import pysatCDF
dd = pysatCDF.CDF('rbspa_efw-l3_20120919_v01.cdf')
dd.data['epoch']
Out[5]:
array(['2012-09-18T19:00:20.472515072-0500',
'2012-09-18T19:00:26.771920896-0500',
'2012-09-18T19:00:33.071325952-0500', ...,
'2012-09-19T18:58:34.048406016-0500',
'2012-09-19T18:58:41.560549888-0500',
'2012-09-19T18:58:49.072690944-0500'], dtype='datetime64[ns]')
On Mar 11, 2016, at 10:20 AM, mattkjames7 [email protected] wrote:
Hi Russell,
Thanks for the quick reply! The CDF files I am using are publicly available here.
Cheers,
Matt.—
Reply to this email directly or view it on GitHub.
from pysatcdf.
Brilliant, thank you so much for that! It's a great help!
from pysatcdf.
Related Issues (20)
- Installation on Windows using MSYS fails HOT 2
- conda recipe HOT 11
- BAD_REC_COUNT: Illegal record count specified. HOT 1
- ZLIB_ERROR HOT 3
- Installing with pip HOT 12
- Expand read support for higher dimension data HOT 2
- cannot install pysatCDF HOT 4
- STY: import DataFrame from pandas, not pysat
- Install pysatCDF error: '-mno-cygwin' did you mean... HOT 1
- Trouble reading the SWARM L1B Langmuir Probe cdf files HOT 1
- BUG: `to_pysat` only works for fixed epoch labels
- Non-standard Fortran syntax causing installation issues HOT 1
- CDF version is out of date HOT 3
- Add docstring checks HOT 1
- MAINT: distutils deprecation
- ENH: flake-8 standards
- TST: windows and macos support in Github Actions
- ENH: rename develop branches
- MAINT: numpy 1.24 compliance HOT 3
- BUG: epoch referenced before assignment 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 pysatcdf.