Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
gfs-weather-server
Advanced tools
Backend for downloading, storing and serving meteorological data.
git clone ...
Copy config.sample.json
to config.json
and adjust the settings to your environment.
{
"server": {
// Configuration settings affecting the restify instance
"port": 8080
},
// Toggle between mongoose for a mongodb database or sequelize for sql databases
"db": "mongoose",
"mongoose": {
"connString": "mongodb://localhost/gfs"
},
// Sequelize settings. modelOptions get passed to every model.
// Globally override settings like the schema for postgres.
"sequelize": {
"user": "gfs",
"database": "gfs",
"password": "foo",
"options": {
"host": "localhost",
"port": 5432,
"dialect": "postgres"
},
"modelOptions": {
"schema": "weather",
"underscored": true
}
},
// Settings for the gfs downloader job.
"downloader": {
// Predefine the minimum start date when downloading. Defaults to the newest available files.
"latestUpdate": null,
// Where to store downloaded gfs files
"target": "/tmp/gfs-downloader",
// Which offset (in hours) to start downloading forecasts (multiple of 3)
"forecastStart": 0,
// Maximum offset of forecasts (multiple of 3)
"forecastEnd": 72,
// Fields (based on grib index files) to be downloaded.
"fields": [{
// If field names are given as array, they are combined into a single grid after downloading
"name": ["UGRD", "VGRD"],
"combinedName": "UVGRD",
// The surface as defined in the grib index
"surface": "10 m above ground",
// The resolution in degrees. Can be 2.5, 1, 0.5 or 0.25.
// Only 1 degree is supported at the moment
"resolution": 1
}, {
"name": "TMP",
"surface": "surface",
"resolution": 1
}, {
"name": "PRATE",
"surface": "surface",
// For non-regular grids, define "to-regular" as a post-processing step.
// This converts and downsamples (if needed) gaussian grids to regular latlng grids
"process": ["to-regular", 90, 0, 1, 1, 360, 181]
}
]
}
}
docker build gfs-server:latest .
docker run -i -t gfs-server:latest start
docker build gfs-server:latest .
docker run -i -t gfs-server:latest crond
docker run -i -t gfs-server:latest crond -- --run-once download
FAQs
Backend for downloading, storing and serving meteorological data.
The npm package gfs-weather-server receives a total of 0 weekly downloads. As such, gfs-weather-server popularity was classified as not popular.
We found that gfs-weather-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.