sunpy | SunPy - Python for Solar Physics | Dataset library
kandi X-RAY | sunpy Summary
kandi X-RAY | sunpy Summary
SunPy - Python for Solar Physics
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Rotate the object
- Warn a warning
- Return a new Map instance
- Returns the lon and lat of the given frame
- Create a submap of a submap
- Parse submap input
- Get the horizon coordinate of a given body
- Parse a time string
- Plot the map
- Return True if all maps have the same shape
- Fetch data from Fido
- Create a fitswcs header
- Calculate the difference between two angles
- Search for records matching the given query
- Rotate a coordinate around an observer
- Calculates the heli of a body
- Calculate the heli of a body
- Return the superpixel of the image
- Converts a string into a datetime object
- Updates values from a dictionary
- Fetch data from a given JOC response
- Reproject the image to a target WCS object
- Return a new MapSequence
- Search the records
- Read a GenX file
- Resample the image
- Draw a quadrilateral quadrilateral
sunpy Key Features
sunpy Examples and Code Snippets
Community Discussions
Trending Discussions on sunpy
QUESTION
This is a follow-up question to this question in the astronomy SO.
Following this example in sunpy (very similar to the answer in the linked post above), I am trying to access and download a time-series dataset spanning a few decades of X-Ray flux (XRS). The parameters tstart
and tend
define the boundaries of the range of datetimes to be considered.
Using sunpy 3.0.1, the following code snippet works successfully:
...ANSWER
Answered 2021-Nov-05 at 02:37As the documentation describes, ts.TimeSeries
returns a list unless the concatenate
parameter is True
. Your code includes the differently named concat
parameter which likely won't get picked up.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install sunpy
You can use sunpy 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
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page