![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
The NOAA/CSU Tropical Cyclone PRecipitation, Infrared, Microwave, and Environmental Dataset (TC PRIMED) is a global amelioration of tropical cyclone centric data centered on low-Earth orbiting satellite overpasses.
The TC PRIMED data is stored in an artificial intelligence (AI)-ready format via NetCDF files. These data are hosted on an Amazon Web Services (AWS) S3 Bucket as a public dataset through the NOAA Open Data Dissemination program at https://noaa-nesdis-tcprimed-pds.s3.amazonaws.com/index.html.
This API allows users to access specific storms and sensors without having to shift through each individual storm. If you are interested in pulling the entire dataset, consider using the AWS command line interface instead.
Install the TC PRIMED API with:
$ pip install tcprimedapi
There are more examples on using the API available in the examples directory.
This example test will print the S3 bucket object key (i.e., the file name).
$ python
>>> import tcprimedapi
>>> tcpc = tcprimedapi.Client()
>>> tcpc.query({'atcf_id': ['al092019'],
... 'file_type': ['GMI']})
>>> for key in tcpc.object_keys:
... print(key)
The TC PRIMED API allows users to make data requests with two different behaviors: 1) download files locally and 2) iterate through files in memory.
Users must first query a data request.
To request TC PRIMED data, users create a dictionary containing parameters for their request. The dictionary contains three key, value pairs:
Storm options:
You can either specify storm identifiers
atcf_id
— the Automated Tropical Cyclone Forecast System (ATCF) 8 character storm identifierOr, you can specify one or multiple components of a storm identifier as strings
season
— Four digit seasonbasin
— Two character basin identifiercyclone_number
— Two digit cyclone numberLeaving one out pulls everything for that option. For example, not specifying a cyclone number gives all storms for the subset of seasons and basins.
The overpass and environmental files options:
file_type
— the low-Earth orbit satellite sensor or platform abbreviation or the environmental file env
Version options:
version
— optional TC PRIMED version (i.e., v01r01
)version_type
— optional TC PRIMED version type (i.e., final
, preliminary
) with final
being the defaultDate time group start and end range options:
start_date
— optional inclusive start date (file date time stamp must be greater than or equal to this value)end_date
— optional exclusive end date (file date time stamp must be less than to this value)As with the example above, object_keys
can be examined to see if the query matches expectations.
This option is best for repeatedly accessing a small subset of TC PRIMED files.
$ python
>>> import tcprimedapi
>>> tcpc = tcprimedapi.Client()
>>> tcpc.query({'atcf_id': ['al092019'],
... 'file_type': ['GMI']})
>>> target_dirname = 'save_here'
>>> tcpc.download(target_dirname=target_dirname)
This option is best for one-time access or for saving a subset of data from TC PRIMED files.
$ python
>>> import tcprimedapi
>>> tcpc = tcprimedapi.Client()
>>> tcpc.query({'atcf_id': ['al092019'],
... 'file_type': ['GMI']})
>>> file_iter = tcpc.inmemory()
FAQs
An API to pull TC PRIMED files based on user requests.
We found that tcprimedapi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.