Skip to content
This repository was archived by the owner on Nov 5, 2022. It is now read-only.
This repository was archived by the owner on Nov 5, 2022. It is now read-only.

Read / write images through Climsoft API #36

@isedwards

Description

@isedwards

Climsoft has support for reading and writing image data. Currently images are not stored in the database however, when we implement this, it would be good to have a single interface where we can configure the server to either:

a) read / write files from a path on a local disc, or
b) store images directly in the database (if the database has good support for this)
c) use a cloud service like Amazon's S3

The paperarchive and paperarchivedefinition database tables store metadata related to the available images. This can be see on the "Archival List" tab of the Paper Archiving module in Climsoft

paperarchive

User interface Database table Database field Type Details
StationId paperarchive classifiedInto (or station?) ForeignKey('station.stationId')
FormId paperarchive belongsTo ForeignKey('paperarchivedefinition.formId')
Form datetime paperarchive formDatetime DateTime Date written on the paper form
Image paperarchive image String(255) Path to file

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions