-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
CNES Download .DBF error #167
Comments
hello @Twetler, I'm going to fix this issue and it will be available on next release soon enough. But while it's not available, you can just remove the from pysus.ftp.databases.cnes import CNES
cnes = CNES()
cnes.load()
files = cnes.get_files('ST', year=2020, uf = 'SP', month = [1,2,3,4,5,6,7,8,9,10,11,12])
dbc_files = [f for f in files if f.extension != ".DBF"]
dbc_files
[STSP2001.dbc,
STSP2002.dbc,
STSP2003.dbc,
STSP2004.dbc,
STSP2005.dbc,
STSP2006.dbc,
STSP2007.dbc,
STSP2008.dbc,
STSP2009.dbc,
STSP2010.dbc,
STSP2011.dbc,
STSP2012.dbc] |
🎉 This issue has been resolved in version 0.10.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
@Twetler please update pysus version to 0.10.3, don't forget to delete the previous corrupted files from your local directory ( |
Guys thanks for the help and for the fix.My pipeline is working awesomelly due to the lib, cheers for the great work!! |
Hey guys!!
I was following @esloch 's guidance on this unpack requires a buffer of 32 bytes issue.
After also following the CNES notebook I face some errors when ftp.databases.cnes.CNES tries to convert .DBF files to parquet.
I'm using the latest version git+https://github.com/AlertaDengue/PySUS@0.10.2
STEPS:
It downloads the .DBF files correctly, but when it tries to convert it to .parquet drops the following error when I execute
parquets = cnes.download(files)
Seems to be a ParquetSet error. Couldn't understand it further. Have you guys had anything related to this?
The text was updated successfully, but these errors were encountered: