Commit 1628c0b8 authored by Willi Rath's avatar Willi Rath
Browse files

Add CCMP_v2 winds

parent 6945b0ee
Loading
Loading
Loading
Loading

CCMP_v2/meta.yaml

0 → 100644
+62 −0
Original line number Diff line number Diff line
repo_name: CCMP_v2

people: >
    Willi Rath (<wrath@geomar.de>), Josefine Herrford (<jherrford@geomar.de>),
    Kristin Burmeister (<kburmeister@geomar.de>)

http_path_remote: https://git.geomar.de/data/CCMP_v2

git_path_remote: git@git.geomar.de:data/CCMP_v2.git

repo_description: |
    Cross-Calibrated Multi-Platform (CCMP) gridded surface vector winds from
    <http://www.remss.com/measurements/ccmp/>.

acknowledgements: >
    CCMP Version-2.0 vector wind analyses are produced by Remote Sensing
    Systems. Data are available at www.remss.com.

citations:
    - text: "Wentz, F.J., J. Scott, R. Hoffman, M. Leidner, R. Atlas, J.
        Ardizzone, 2015: Remote Sensing Systems Cross-Calibrated Multi-Platform
        (CCMP) 6-hourly ocean vector wind analysis product on 0.25 deg grid,
        Version 2.0, [indicate date subset, if used]. Remote Sensing Systems,
        Santa Rosa, CA. Available online at www.remss.com/measurements/ccmp."
      doi: "---"
    - text: "Atlas, R., R. N. Hoffman, J. Ardizzone, S. M. Leidner, J. C.
        Jusem, D. K. Smith, D. Gombos, 2011: A cross-calibrated, multiplatform
        ocean surface wind velocity product for meteorological and
        oceanographic applications. Bull. Amer. Meteor. Soc., 92, 157-174."
      doi: "10.1175/2010BAMS2946.1"

prefixes: data doc

data:

    - url: "http://data.remss.com/ccmp/v02.0/"
      cut_dirs: 2
      prefix: data
      accept_files: "*.*"
      method: !!python/name:data_repo_renderer.WgetRecursive

doc:

    - url: "http://data.remss.com/ccmp/read_routines/"
      cut_dirs: 1
      prefix: doc
      accept_files: "*.py"
      method: !!python/name:data_repo_renderer.WgetRecursive

    - url: "http://data.remss.com/ccmp/readme_ccmp.pdf"
      file_name: data.remss.com_ccmp_readme_ccmp.pdf
      prefix: doc
      method: !!python/name:data_repo_renderer.CurlSingleFile

    - url: "http://www.remss.com/measurements/ccmp/"
      file_name: www.remss.com_measurements_ccmp.html
      prefix: doc
      method: !!python/name:data_repo_renderer.CurlSingleFile

post_processing:

    - util/convert_to_netCDF4_classic.sh
+15 −0
Original line number Diff line number Diff line
#!/bin/bash

# define and export convert function
function convert_to_nc4c {
    file_name=$1
    echo "converting ${file_name}"
    nccopy -7 -d 1 -s -c "time/1,latitude/100,longitude/100" \
        ${file_name} ${file_name}_tmp_nc4
    mv ${file_name}_tmp_nc4 ${file_name}
}
export -f convert_to_nc4c

# compress all nc-files in data
find data/ -type f -iname \*.nc -print0 | \
    xargs -0 -n1 -P4 -I {} bash -c "convert_to_nc4c {}"