Writing custom Prepare Scripts for OpenDataCube?Assign Custom Band Combination To Image Catalogs In...

Why are the books in the Game of Thrones citadel library shelved spine inwards?

What kind of hardware implements Fourier transform?

Can polymorphing monsters spam their ability to effectively give themselves a massive health pool?

Why don't I see the difference between two different files in insert mode in vim?

Issues with new Macs: Hardware makes them difficult for me to use. What options might be available in the future?

How do you funnel food off a cutting board?

Reference on complex cobordism

What does "at rest" mean involving data encryption?

"On one hand" vs "on the one hand."

Explain the objections to these measures against human trafficking

A donkey does not know what kind of fruit persimmon is

Everyone is beautiful

Pendulum Rotation

Why zero tolerance on nudity in space?

When does coming up with an idea constitute sufficient contribution for authorship?

Are there any outlying considerations if I treat donning a shield as an object interaction during the first round of combat?

How would an AI self awareness kill switch work?

Getting a UK passport renewed when you have dual nationality and a different name in your second country?

How to remove trailing forward slash

Could flying insects re-enter the Earth's atmosphere from space without burning up?

If I delete my router's history can my ISP still provide it to my parents?

Can I become debt free or should I file for bankruptcy? How do I manage my debt and finances?

Approaches to criticizing short fiction

What to do when being responsible for data protection in your lab, yet advice is ignored?



Writing custom Prepare Scripts for OpenDataCube?


Assign Custom Band Combination To Image Catalogs In ArcGISFinding Satellite Imagery For Use Without Internet ConnectionWhere can I download free satellite imagery of Cambodia for offline use?How many stereo satellite imagery required to prepare DEM of an area?Raster satellite images for QGISPrepare raster data for wms using geoserver!Using remote sensing satellite for chlorophyll mapping?Where to download high resolution maps or layers for Greece?Where can get different satellite images for the same scene?Is there an online catalog for declassified Soviet Union Spy Satellite images (Zenit-4, Resurs-F1, Okean)?













2















How to write custom prepare scripts for Open Data Cube format ?





The docs say the following:




We expect that many new Data Cube instances will require custom prepare scripts to be written. It is generally a straightforward task of mapping metadata from one form to another and writing out a YAML document.




That's it.

Also the official training center is not helpful as it does not say anything about it.





Can someone explain this a bit more in detail or does someone have better sources or tutorial(s) other than analyzing the non-commented sample prepare scripts ?










share|improve this question





























    2















    How to write custom prepare scripts for Open Data Cube format ?





    The docs say the following:




    We expect that many new Data Cube instances will require custom prepare scripts to be written. It is generally a straightforward task of mapping metadata from one form to another and writing out a YAML document.




    That's it.

    Also the official training center is not helpful as it does not say anything about it.





    Can someone explain this a bit more in detail or does someone have better sources or tutorial(s) other than analyzing the non-commented sample prepare scripts ?










    share|improve this question



























      2












      2








      2


      1






      How to write custom prepare scripts for Open Data Cube format ?





      The docs say the following:




      We expect that many new Data Cube instances will require custom prepare scripts to be written. It is generally a straightforward task of mapping metadata from one form to another and writing out a YAML document.




      That's it.

      Also the official training center is not helpful as it does not say anything about it.





      Can someone explain this a bit more in detail or does someone have better sources or tutorial(s) other than analyzing the non-commented sample prepare scripts ?










      share|improve this question
















      How to write custom prepare scripts for Open Data Cube format ?





      The docs say the following:




      We expect that many new Data Cube instances will require custom prepare scripts to be written. It is generally a straightforward task of mapping metadata from one form to another and writing out a YAML document.




      That's it.

      Also the official training center is not helpful as it does not say anything about it.





      Can someone explain this a bit more in detail or does someone have better sources or tutorial(s) other than analyzing the non-commented sample prepare scripts ?







      raster imagery satellite file-formats opendatacube






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 9 mins ago









      PolyGeo

      53.6k1780240




      53.6k1780240










      asked Jul 19 '18 at 11:27









      RoVoRoVo

      4,814731




      4,814731






















          1 Answer
          1






          active

          oldest

          votes


















          1














          While the official documentation of datacube-core is not yet very useful, the project owner CEOS has a much better documentation hidden in another github project named CEOS Data Cube UI.




          • Ingestion Guide


          The topic I was looking for can be found here.





          I will not copy-paste the whole documentation. But the following is the information the prepare script should output to a yaml file:



          creation_dt: '2014-03-01 00:00:00'
          extent:
          center_dt: '2014-03-01 11:59:59'
          coord:
          ll: {lat: -90.0000031, lon: -179.99999689999999}
          lr: {lat: -90.0000031, lon: 180.0000031}
          ul: {lat: 89.9999969, lon: -179.99999689999999}
          ur: {lat: 89.9999969, lon: 180.0000031}
          from_dt: '2014-03-01 00:00:00'
          to_dt: '2014-03-01 23:59:59'
          format: {name: GeoTiff}
          grid_spatial:
          projection:
          geo_ref_points:
          ll: {x: -179.9999969, y: -90.0000031}
          lr: {x: 180.0000031, y: -90.0000031}
          ul: {x: -179.9999969, y: 89.9999969}
          ur: {x: 180.0000031, y: 89.9999969}
          spatial_reference: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
          id: e95ed0b5-ac2b-4c59-9aa8-2b3f0cd2ef40
          image:
          bands:
          ice_precipitation: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.ice.tif}
          liquid_precipitation: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.liquid.tif}
          percent_liquid: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.liquidPercent.tif}
          total_precipitation: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.tif}
          instrument: {name: GPM}
          lineage:
          source_datasets: {}
          platform: {code: GPM}
          processing_level: V04A
          product_type: monthly








          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "79"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f289968%2fwriting-custom-prepare-scripts-for-opendatacube%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            While the official documentation of datacube-core is not yet very useful, the project owner CEOS has a much better documentation hidden in another github project named CEOS Data Cube UI.




            • Ingestion Guide


            The topic I was looking for can be found here.





            I will not copy-paste the whole documentation. But the following is the information the prepare script should output to a yaml file:



            creation_dt: '2014-03-01 00:00:00'
            extent:
            center_dt: '2014-03-01 11:59:59'
            coord:
            ll: {lat: -90.0000031, lon: -179.99999689999999}
            lr: {lat: -90.0000031, lon: 180.0000031}
            ul: {lat: 89.9999969, lon: -179.99999689999999}
            ur: {lat: 89.9999969, lon: 180.0000031}
            from_dt: '2014-03-01 00:00:00'
            to_dt: '2014-03-01 23:59:59'
            format: {name: GeoTiff}
            grid_spatial:
            projection:
            geo_ref_points:
            ll: {x: -179.9999969, y: -90.0000031}
            lr: {x: 180.0000031, y: -90.0000031}
            ul: {x: -179.9999969, y: 89.9999969}
            ur: {x: 180.0000031, y: 89.9999969}
            spatial_reference: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
            id: e95ed0b5-ac2b-4c59-9aa8-2b3f0cd2ef40
            image:
            bands:
            ice_precipitation: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.ice.tif}
            liquid_precipitation: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.liquid.tif}
            percent_liquid: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.liquidPercent.tif}
            total_precipitation: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.tif}
            instrument: {name: GPM}
            lineage:
            source_datasets: {}
            platform: {code: GPM}
            processing_level: V04A
            product_type: monthly








            share|improve this answer




























              1














              While the official documentation of datacube-core is not yet very useful, the project owner CEOS has a much better documentation hidden in another github project named CEOS Data Cube UI.




              • Ingestion Guide


              The topic I was looking for can be found here.





              I will not copy-paste the whole documentation. But the following is the information the prepare script should output to a yaml file:



              creation_dt: '2014-03-01 00:00:00'
              extent:
              center_dt: '2014-03-01 11:59:59'
              coord:
              ll: {lat: -90.0000031, lon: -179.99999689999999}
              lr: {lat: -90.0000031, lon: 180.0000031}
              ul: {lat: 89.9999969, lon: -179.99999689999999}
              ur: {lat: 89.9999969, lon: 180.0000031}
              from_dt: '2014-03-01 00:00:00'
              to_dt: '2014-03-01 23:59:59'
              format: {name: GeoTiff}
              grid_spatial:
              projection:
              geo_ref_points:
              ll: {x: -179.9999969, y: -90.0000031}
              lr: {x: 180.0000031, y: -90.0000031}
              ul: {x: -179.9999969, y: 89.9999969}
              ur: {x: 180.0000031, y: 89.9999969}
              spatial_reference: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
              id: e95ed0b5-ac2b-4c59-9aa8-2b3f0cd2ef40
              image:
              bands:
              ice_precipitation: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.ice.tif}
              liquid_precipitation: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.liquid.tif}
              percent_liquid: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.liquidPercent.tif}
              total_precipitation: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.tif}
              instrument: {name: GPM}
              lineage:
              source_datasets: {}
              platform: {code: GPM}
              processing_level: V04A
              product_type: monthly








              share|improve this answer


























                1












                1








                1







                While the official documentation of datacube-core is not yet very useful, the project owner CEOS has a much better documentation hidden in another github project named CEOS Data Cube UI.




                • Ingestion Guide


                The topic I was looking for can be found here.





                I will not copy-paste the whole documentation. But the following is the information the prepare script should output to a yaml file:



                creation_dt: '2014-03-01 00:00:00'
                extent:
                center_dt: '2014-03-01 11:59:59'
                coord:
                ll: {lat: -90.0000031, lon: -179.99999689999999}
                lr: {lat: -90.0000031, lon: 180.0000031}
                ul: {lat: 89.9999969, lon: -179.99999689999999}
                ur: {lat: 89.9999969, lon: 180.0000031}
                from_dt: '2014-03-01 00:00:00'
                to_dt: '2014-03-01 23:59:59'
                format: {name: GeoTiff}
                grid_spatial:
                projection:
                geo_ref_points:
                ll: {x: -179.9999969, y: -90.0000031}
                lr: {x: 180.0000031, y: -90.0000031}
                ul: {x: -179.9999969, y: 89.9999969}
                ur: {x: 180.0000031, y: 89.9999969}
                spatial_reference: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
                id: e95ed0b5-ac2b-4c59-9aa8-2b3f0cd2ef40
                image:
                bands:
                ice_precipitation: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.ice.tif}
                liquid_precipitation: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.liquid.tif}
                percent_liquid: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.liquidPercent.tif}
                total_precipitation: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.tif}
                instrument: {name: GPM}
                lineage:
                source_datasets: {}
                platform: {code: GPM}
                processing_level: V04A
                product_type: monthly








                share|improve this answer













                While the official documentation of datacube-core is not yet very useful, the project owner CEOS has a much better documentation hidden in another github project named CEOS Data Cube UI.




                • Ingestion Guide


                The topic I was looking for can be found here.





                I will not copy-paste the whole documentation. But the following is the information the prepare script should output to a yaml file:



                creation_dt: '2014-03-01 00:00:00'
                extent:
                center_dt: '2014-03-01 11:59:59'
                coord:
                ll: {lat: -90.0000031, lon: -179.99999689999999}
                lr: {lat: -90.0000031, lon: 180.0000031}
                ul: {lat: 89.9999969, lon: -179.99999689999999}
                ur: {lat: 89.9999969, lon: 180.0000031}
                from_dt: '2014-03-01 00:00:00'
                to_dt: '2014-03-01 23:59:59'
                format: {name: GeoTiff}
                grid_spatial:
                projection:
                geo_ref_points:
                ll: {x: -179.9999969, y: -90.0000031}
                lr: {x: 180.0000031, y: -90.0000031}
                ul: {x: -179.9999969, y: 89.9999969}
                ur: {x: 180.0000031, y: 89.9999969}
                spatial_reference: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
                id: e95ed0b5-ac2b-4c59-9aa8-2b3f0cd2ef40
                image:
                bands:
                ice_precipitation: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.ice.tif}
                liquid_precipitation: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.liquid.tif}
                percent_liquid: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.liquidPercent.tif}
                total_precipitation: {path: 3B-MO-GIS.MS.MRG.3IMERG.20140301-S000000-E235959.03.V04A.tif}
                instrument: {name: GPM}
                lineage:
                source_datasets: {}
                platform: {code: GPM}
                processing_level: V04A
                product_type: monthly









                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jul 24 '18 at 9:28









                RoVoRoVo

                4,814731




                4,814731






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f289968%2fwriting-custom-prepare-scripts-for-opendatacube%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Щит и меч (фильм) Содержание Названия серий | Сюжет |...

                    Венесуэла на летних Олимпийских играх 2000 Содержание Состав...

                    Meter-Bus Содержание Параметры шины | Стандартизация |...