Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing actions #66

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/convert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@ on:
branches:
- master
jobs:
Run dataset conversion scripts:
Convert:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Execute all python changed files
uses: jitterbit/get-changed-files@v1
with:
format: 'py'
- run: |
for changed_file in ${{ steps.files.outputs.all }}; do
echo "Do something with this ${changed_file}."
done
- run: |
for changed_file in ${{ steps.files.outputs.all }}; do
echo "Do something with this ${changed_file}."
done
4 changes: 2 additions & 2 deletions biomass/XuSaatchi/convert.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
"""Downloads the XuSaatchi Biomass dataset and converts to netCDF, bringing up
to ILAMB/CF standards."""

import os
import time

import cftime
import ilamblib as il
import numpy as np
import requests
import xarray as xr

import ilamblib as il

SHOW_PLOTS = False

# pylint: disable=line-too-long,invalid-name
Expand Down