idlsave | IDLSave - a python module to read IDL 'save ' files | Data Manipulation library

 by   astrofrog Python Version: Current License: Non-SPDX

kandi X-RAY | idlsave Summary

kandi X-RAY | idlsave Summary

idlsave is a Python library typically used in Utilities, Data Manipulation, Numpy applications. idlsave has no bugs, it has no vulnerabilities, it has build file available and it has low support. However idlsave has a Non-SPDX License. You can download it from GitHub.

IDLSave has now been merged into Scipy, and can be used as scipy.io.readsav. See:. for more details. IDLSave 1.0.0 is equivalent to scipy.io in Scipy 0.10.1. IDLSave is a pure python module to import variables from IDL 'save' files (e.g. .sav) into python, and does not require IDL to work. It has a very simple command-line interface, and converts all IDL variables to python types. Arrays are converted to Numpy arrays, and Structures are converted to Numpy record arrays.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              idlsave has a low active ecosystem.
              It has 10 star(s) with 3 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 6 have been closed. On average issues are closed in 611 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of idlsave is current.

            kandi-Quality Quality

              idlsave has no bugs reported.

            kandi-Security Security

              idlsave has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              idlsave has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              idlsave releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed idlsave and discovered the below as its top functions. This is intended to give you an instant insight into idlsave implemented functionality, and help decide if they suit your requirements.
            • Read an IDL file .
            • Read a record .
            • Replace variables in heap .
            • Reads a structdesc .
            • Reads the array description .
            • Read a numpy array .
            • Read a structure from a structure file .
            • Read data from file .
            • Reads a typedesc .
            • Read a tagdesc .
            Get all kandi verified functions for this library.

            idlsave Key Features

            No Key Features are available at this moment for idlsave.

            idlsave Examples and Code Snippets

            No Code Snippets are available at this moment for idlsave.

            Community Discussions

            QUESTION

            Python: How to save *.dat-files as *.csv-files to new folder
            Asked 2020-Mar-13 at 11:32

            I have a folder with lots of *.dat files (which were created with the program IDL). I am able to take one single file, convert it to a *.csv file and save it in a different (already existing) folder:

            ...

            ANSWER

            Answered 2017-Jul-27 at 12:55
            import csv
            import idlsave
            from os import listdir
            from os.path import isfile, join, splitext
            
            dat_folder = "/folder/to/dat/files/"
            csv_folder = "/folder/to/save/new/csv/files/"
            
            onlyfilenames = [f for f in listdir(dat_folder) if isfile(join(dat_folder,f))]
            for fullfilename in onlyfilenames:
                file_name, file_extension = splitext(fullfilename)
                if file_extension == ".dat":
                    input_file = idlsave.read(dat_folder + fullfilename)
                    n = input_file["raw"]
                    with open(join(csv_folder, file_name + ".csv"), "w", newline='') as f:
                        writer = csv.writer(f)
                        writer.writerows(n)
            

            Source https://stackoverflow.com/questions/42837652

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install idlsave

            You can download it from GitHub.
            You can use idlsave like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/astrofrog/idlsave.git

          • CLI

            gh repo clone astrofrog/idlsave

          • sshUrl

            git@github.com:astrofrog/idlsave.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link